-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add UuidValidator / UlidValidator #38152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi I can see that there is already UuidValidator available here https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Constraints/UuidValidator.php |
In one of the comments I assume Nicolas wants to use the Symfony/uid package for the valdation instead of the current validation logic. |
Hi, @nicolas-grekas I opened pull request #38322 for adding Ulid constraint and validator. |
… Clouet) This PR was squashed before being merged into the 5.2-dev branch. Discussion ---------- [Validator] Add Ulid constraint and validator | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #38152 | License | MIT ULID constraint and validator as mentioned in ticket #38103 I checked for it ulid specifications https://github.com/ulid/spec Commits ------- e36fd55 [Validator] Add Ulid constraint and validator
Or maybe a UidValidator with an attribute to specify the variant?
Help Wanted
The text was updated successfully, but these errors were encountered: