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

[Validator] Add support forConstraintViolationList::createFromMessage()#41154

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:5.4fromlyrixx:validator-shortcut
Jul 3, 2021

Conversation

@lyrixx
Copy link
Member

QA
Branch?5.x (5.4)
Bug fix?no
New feature?ye
Deprecations?no
TicketsFix#41111
LicenseMIT
Doc PR

Copy link
Contributor

@ro0NLro0NL left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ConstraintViolationList::createFromMessage('my message')->addAll(  ConstraintViolationList::createFromMessage('my other message'))

we may add a named constructor forConstraintViolation later 👍

im wondering if we should imply a message template, thus extra arg for params 🤔

(meant to comment =))

@fabpot
Copy link
Member

Thank you@lyrixx.

@fabpotfabpot merged commit0ff660c intosymfony:5.4Jul 3, 2021
@lyrixxlyrixx deleted the validator-shortcut branchJuly 5, 2021 08:30
This was referencedNov 5, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@ro0NLro0NLro0NL approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

[Validator] Add shortcut to create a new ConstraintViolationList with one Constraint

5 participants

@lyrixx@fabpot@ro0NL@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp