Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle][Validator] Deprecate annotation occurrences#51425
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
[FrameworkBundle][Validator] Deprecate annotation occurrences#51425
Uh oh!
There was an error while loading.Please reload this page.
Conversation
606ec10 to3d5557bComparestof commentedAug 18, 2023
This should be in the same PR than#51426 instead of being a separate PR IMO, as this is about the FrameworkBundle semantic configuration related to the same change. |
97dc60e to0bd8e1fCompareUh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Mapping/Loader/AttributeLoader.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
89a4e3c to1723d35CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
1723d35 to0a1cb09CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
0a1cb09 toc315bd5Comparec315bd5 to2e1e805Comparealexandre-daubois commentedAug 22, 2023
Addressed your comments@derrabus, thank you! |
derrabus commentedAug 22, 2023
Thank you@alexandre-daubois. |
alexandre-daubois commentedAug 22, 2023
Working on the clean-up 👍 |
…to AnnotationLoader (derrabus)This PR was merged into the 6.4 branch.Discussion----------[Validator] Un-deprecate passing an annotation reader to AnnotationLoader| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | no| New feature? | yes| Deprecations? | no| Tickets | Follow-up to#51425| License | MIT| Doc PR | N/A#51425 deprecated the `AnnotationLoader` class and its replacement already does not accept an annotation reader anymore. Thus, the deprecation of the constructor parameter is redundant, which is why I propose to take it back.cc `@alexandre`-dauboisCommits-------4fa1d32 [Validator] Un-deprecate passing an annotation reader to AnnotationLoader
…ns (alexandre-daubois)This PR was merged into the 7.0 branch.Discussion----------[FrameworkBundle][Validator] Remove remaining deprecations| Q | A| ------------- | ---| Branch? | 7.0| Bug fix? | no| New feature? | no <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets | -| License | MIT| Doc PR |symfony/symfony-docs#18781Follow-up of#51425Commits-------6e8cab7 [FrameworkBundle][Validator] Remove remaining deprecations
lyrixx commentedOct 25, 2023
see#52287 |
alexandre-daubois commentedOct 25, 2023
Thanks! |
Uh oh!
There was an error while loading.Please reload this page.
framework.validation.enable_annotationsin favor offramework.validation.enable_attributesframework.serializer.enable_annotationsin favor of useframework.serializer.enable_attributesValidatorBuilder::enableAnnotationMapping()in favor ofValidatorBuilder::enableAttributeMapping()ValidatorBuilder::disableAnnotationMapping()in favor ofValidatorBuilder::disableAttributeMapping()AnnotationLoaderin favor ofAttributeLoader