You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #10810 [Validator] Explained how to use array constant in annotation (nikophil)
This PR was squashed before being merged into the 3.4 branch (closes#10810).
Discussion
----------
[Validator] Explained how to use array constant in annotation
Hi,
few days ago i tried to add a new feature to the `choice` validator constraint, by adding a new `choicesFromConstant` option.
symfony/symfony#29658
But then, i realized this was already supported.
I think this should be documented, as i think a lot of people don't know this feature.
thanks.
Commits
-------
7774aab [Validator] Explained how to use array constant in annotation
0 commit comments