Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
[Validator] Update Expression constraint with "negate" option#16852
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
OskarStark left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
versionadded directive is missing
Uh oh!
There was an error while loading.Please reload this page.
This PR was merged into the 6.2 branch.Discussion----------Add "negate" option to Expression constraint| Q | A| ------------- | ---| Branch? | 6.2| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets || License | MIT| Doc PR |symfony/symfony-docs#16852Using `Expression` constraint is tedious because the written expression is the opposite of the error message. Adding `negate` option (naming ?) as `Regex::$match` allow us to write condition in phase with the wording.Commits-------4bc245e Add "pass" option to Expression constraint
This PR was merged into the 6.2 branch.Discussion----------Add "negate" option to Expression constraint| Q | A| ------------- | ---| Branch? | 6.2| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets || License | MIT| Doc PR |symfony/symfony-docs#16852Using `Expression` constraint is tedious because the written expression is the opposite of the error message. Adding `negate` option (naming ?) as `Regex::$match` allow us to write condition in phase with the wording.Commits-------4bc245e5a9 Add "pass" option to Expression constraint
Uh oh!
There was an error while loading.Please reload this page.
fmata commentedJul 22, 2022
Comments addressed. |
OskarStark commentedJul 22, 2022
Thanks for your work on this new feature! |
symfony/symfony#46599