symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

[DoctrineBridge][Validator] mark getRequiredOptions()/getDefaultOption(…

Open nicolas-grekas opened this issue 5 months ago • 2 comments

Q A
Feature PR symfony/symfony#61108
PR author(s) @xabbuh
Merged in 7.4

We created this issue to not forget to document this new feature. We would really appreciate if you can help us with this task. If you are not sure how to do it, please ask us and we will help you.

To fix this issue, please create a PR against the 7.4 branch in the symfony-docs repository.

Thank you! :smiley:

nicolas-grekas avatar Jul 15 '25 11:07 nicolas-grekas

Must probably be done with https://github.com/symfony/symfony-docs/issues/21188

alamirault avatar Jul 20 '25 10:07 alamirault

https://symfony.com/doc/current/validation/custom_constraint.html#constraint-validators-with-custom-options should be updated without getDefaultOption and getRequiredOptions.

Maybe a refactoring is mandatory ? (I'm not sure to understand the section)

alamirault avatar Sep 29 '25 10:09 alamirault