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] Allow load mappings from attributes without doctrine/annotations#39032

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

Conversation

@derrabus
Copy link
Member

QA
Branch?5.2
Bug fix?no
New feature?yes
Deprecations?yes
Tickets#38096
LicenseMIT
Doc PRTODO

Follows#38309.

Currently, we cannot enable constraint mapping from attributes without havingdoctrine/annotations installed. Lifting that limitation is a bit tricky becauseValidatorBuilder::enableAnnotationMapping() creates an annotation reader if you don't pass one. This PR aims at deprecating this behavior.

I know it's a bit late for such a change in 5.2 and I should have seen earlier that this part was missing. 😓 Since I don't expect people to go all-in on attributes on day one, it's probably okay to postpone this change to 5.3.

@derrabusderrabus added this to the5.2 milestoneNov 7, 2020
@derrabusderrabusforce-pushed theimprovement/validator-without-doctrine branch from6d90b6d to3ba49bfCompareNovember 7, 2020 21:22
@derrabusderrabusforce-pushed theimprovement/validator-without-doctrine branch from3ba49bf to441c806CompareNovember 7, 2020 21:49
@fabpot
Copy link
Member

Thank you@derrabus.

@fabpotfabpot merged commit77c82cf intosymfony:5.xNov 8, 2020
@derrabusderrabus deleted the improvement/validator-without-doctrine branchNovember 9, 2020 10:14
@fabpotfabpot mentioned this pull requestNov 10, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jderussejderussejderusse left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

4 participants

@derrabus@fabpot@jderusse@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp