Skip to content

[Validator] Add support for closures in the When constraint #20675

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
merged 1 commit into from
Feb 21, 2025

Conversation

alexandre-daubois
Copy link
Member

Fix #20674


.. versionadded:: 7.3

The support for closure in the ``expression`` option was introduced in Symfony 7.3
Copy link
Member

@xabbuh xabbuh Feb 21, 2025

Choose a reason for hiding this comment

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

Suggested change
The support for closure in the ``expression`` option was introduced in Symfony 7.3
The support for closures in the ``expression`` option was introduced in Symfony 7.3

Copy link
Member

Choose a reason for hiding this comment

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

Done while merging. Thanks!

@javiereguiluz javiereguiluz merged commit 1d8ebd3 into symfony:7.3 Feb 21, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Alex, thanks for another nice contribution! While merging we did some minor tweaks/rewords, but the core of your contribution remained.

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.

[Validator] Add support for closures in When
5 participants