-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Validation groups name best practice #12543
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
By default, Symfony has a I haven't used this feature ever in an application, but I would say it's better to not use PascalCase for custom groups - to differentiate between the ClassName groups and custom groups. I'm leaning towards |
I agree with Wouter. |
Thanks for your feedback. We added it in #13720. |
Are there any good practices for 'validation groups' name style?
I see that in documentation in some case we have
Default
(ucfirst) and in the otherregistration
(strtolower).What about multiple word name. Should it be a camelaCase or PascalCase?
Thank you for answer
The text was updated successfully, but these errors were encountered: