Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add "negate" option to Expression constraint#46599

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

Merged
fabpot merged 1 commit intosymfony:6.2fromfmata:constraint-expression
Jul 21, 2022
Merged

Add "negate" option to Expression constraint#46599

fabpot merged 1 commit intosymfony:6.2fromfmata:constraint-expression
Jul 21, 2022

Conversation

@fmata
Copy link
Contributor

@fmatafmata commentedJun 6, 2022
edited
Loading

QA
Branch?6.2
Bug fix?no
New feature?yes
Deprecations?no
Tickets
LicenseMIT
Doc PRsymfony/symfony-docs#16852

UsingExpression constraint is tedious because the written expression is the opposite of the error message. Addingnegate option (naming ?) asRegex::$match allow us to write condition in phase with the wording.

norkunas, Pasttaga, eweap, Sam2225d, and peshkopy reacted with thumbs up emoji
@carsonbotcarsonbot added this to the6.2 milestoneJun 6, 2022
@fmatafmata changed the titleAdd "pass" option to Expression constraint[Validator] Add "pass" option to Expression constraintJun 6, 2022
@OskarStark
Copy link
Contributor

I like the idea but struggle a bit with "pass" naming. What about "negate" or sth else?

@fmata
Copy link
ContributorAuthor

@OskarStark better 👍 pushed.

OskarStark reacted with thumbs up emoji

@fmatafmata changed the title[Validator] Add "pass" option to Expression constraint[Validator] Add "negate" option to Expression constraintJun 6, 2022
@carsonbotcarsonbot changed the title[Validator] Add "negate" option to Expression constraintAdd "negate" option to Expression constraintJul 21, 2022
@fabpot
Copy link
Member

Thank you@fmata.

fmata reacted with hooray emoji

@fabpotfabpot merged commit9ccf365 intosymfony:6.2Jul 21, 2022
@fmatafmata deleted the constraint-expression branchJuly 21, 2022 14:43
OskarStark added a commit to symfony/symfony-docs that referenced this pull requestJul 22, 2022
… option (Florent Mata)This PR was merged into the 6.2 branch.Discussion----------[Validator] Update Expression constraint with "negate" optionsymfony/symfony#46599Commits-------0ca9832 Update Expression constraint with "negate" option
@fabpotfabpot mentioned this pull requestOct 24, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

4 participants

@fmata@OskarStark@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp