Skip to content

Commit 80d45a8

Browse files
committed
feature #18008 [Validator] Add exclude option to Cascade (alexandre-daubois)
This PR was merged into the 6.3 branch. Discussion ---------- [Validator] Add `exclude` option to `Cascade` Waiting code merge of symfony/symfony#49596 Commits ------- 7a1e101 [Validator] Add `exclude` option to `Cascade`
2 parents c4a0064 + 7a1e101 commit 80d45a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/constraints/Cascade.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,16 @@ Options
8787

8888
The ``groups`` option is not available for this constraint.
8989

90+
``exclude``
91+
~~~~~~~~~~~
92+
93+
**type**: ``array`` | ``string`` **default**: ``null``
94+
95+
This option can be used to exclude one or more properties from the
96+
cascade validation.
97+
98+
.. versionadded:: 6.3
99+
100+
The ``exclude`` option was introduced in Symfony 6.3.
101+
90102
.. include:: /reference/constraints/_payload-option.rst.inc

0 commit comments

Comments
 (0)