Validation on the general shape of an uuid string #747
Closed
TessavWalstijn
started this conversation in
Ideas
Replies: 1 comment
-
You're welcome to implement this in a separate module, but it's not suitable for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is lovely however when a system or software product had an introduction of invalid id's this can be quite annoying.
The WHY:
Working with old data sets that have gotten a generated id that looks like an uuid but is not a valid one. The data set is to large and has to many links to each other that creating new valid uuid's is a no go. I currently use a custom RegEx check and would be happy to continue using that.
My proposal is to add a
softValidation
, I know this is not covered in the RFC4122.And if it is by that reason not wanted to implement a
softValidation
I fully understand it. However having a somewhat a closer standard implemented by the uuidjs group would be nice to have a soft validation.Naming of the function is not set in stone.
How it will work:
It would match with the following ID's
Notice:
Note:
I would have no problem doing the work for this addition. But first want to check with the maintainers before I do the work and create a PR that will be closed anyway.
PS I have seen #72 (comment)
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions