8000 [Validator] Add `EnableAutoMapping` and `DisableAutoMapping` constraints by alexandre-daubois · Pull Request #18568 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Add EnableAutoMapping and DisableAutoMapping constraints #18568

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

alexandre-daubois
Copy link
Member

Fix #12563

@alexandre-daubois alexandre-daubois force-pushed the enable-disable-automapping branch from 14b6375 to 2653b56 Compare July 16, 2023 10:17
@javiereguiluz javiereguiluz merged commit 19955a7 into symfony:5.4 Jul 17, 2023
@javiereguiluz
Copy link
Member

Thanks Alex. I didn't know that we were missing this. While merging in upper branches, I removed the example with annotations.

javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jul 17, 2023
…lexandre-daubois)

This PR was merged into the 6.2 branch.

Discussion
----------

[Validator] Add missing types and return types

Follow-up of symfony#18568

Also the first parameter of `ConstraintValidator::validate()` has been renamed to `$value` instead of `$object`, I updated the few places I could find it appears 🙂

Commits
-------

97c31c7 [Validator] Add missing types and return types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0