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

[FrameworkBundle] Skip auto-validation for empty auto_mapping#44698

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

Closed
ro0NL wants to merge3 commits intosymfony:6.1fromro0NL:patch-1
Closed

[FrameworkBundle] Skip auto-validation for empty auto_mapping#44698

ro0NL wants to merge3 commits intosymfony:6.1fromro0NL:patch-1

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedDec 18, 2021
edited
Loading

QA
Branch?6.1
Bug fix?yes/no
New feature?yes/no
Deprecations?no
TicketsFix#44693
LicenseMIT
Doc PRsymfony/symfony-docs#...

I can confirm this fixes the issue on our side at 4.4.

I created this PR mostly to see what tests do on your side. 🤞 I'm not planning to digest this feature any further :)

I let you decide as of which branch to disable auto-validation ;)

@carsonbot
Copy link

Hey!

I think@jschaedl has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

Copy link
Contributor

@ogizanagiogizanagi left a comment

Choose a reason for hiding this comment

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

Sorry, can't dig much right now, but, with this patch, would:

framework:validation:auto_mapping:[]

still allow enabling auto mapping per-case by adding the@Assert\EnableAutoMapping annotation/attribute ?

And would

framework:validation:auto_mapping:App\Entity\:[]

still auto validateApp\Entity\ ns while requiring to add@Assert\EnableAutoMapping for the other ns?

IIRC, this would be the expected behavior.

…pingConfigurationPass.phpCo-authored-by: Maxime Steinhausser <ogizanagi@users.noreply.github.com>
@ro0NL
Copy link
ContributorAuthor

still allow enabling auto mapping per-case by adding the@Assert\EnableAutoMapping annotation/attribute ?

yeah, no 😭 What bugs me more at this point is why nobody is noticing. That includes me now.

@ro0NLro0NL closed thisDec 21, 2021
@ro0NLro0NL deleted the patch-1 branchDecember 21, 2021 10:39
@alanpoulain
Copy link
Contributor

Probably related? I had this kind of issue a long time ago...
#32278
doctrine/DoctrineBundle#988

ro0NL reacted with laugh emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ogizanagiogizanagiogizanagi left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

[FrameworkBundle] validator.auto_mapping always applies something

4 participants

@ro0NL@carsonbot@alanpoulain@ogizanagi

[8]ページ先頭

©2009-2025 Movatter.jp