-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Validator] Allow single integer for the versions
option of the Uuid
constraint
#50396
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
[Validator] Allow single integer for the versions
option of the Uuid
constraint
#50396
Conversation
Hey! Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.4 after feature freeze". Cheers! Carsonbot |
4e568c1
to
51df710
Compare
@alexandre-daubois Can you rebase on the |
51df710
to
b94cc20
Compare
b94cc20
to
7e4a84d
Compare
7e4a84d
to
3f52000
Compare
I'm not sure I like this change. The argument is named |
There is a least one precedent on the topic, Route's schemes + methods accept a single value: |
I actually found some other examples. Many other constraints accept
This PR (and this one) could bring some consistency here in my opnion 🙂 |
Thank you @alexandre-daubois. |
Improve DX by allowing to pass a single integer for the
versions
option of theUuid
constraint