8000 Update sequence_provider.rst · symfony/symfony-docs@7f5d9c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f5d9c3

Browse files
DonCallistojaviereguiluz
authored andcommitted
Update sequence_provider.rst
1 parent e10fd56 commit 7f5d9c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

validation/sequence_provider.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ that group are valid, the second group, ``Strict``, will be validated.
139139
infinite recursion (as the ``Default`` group references the group
140140
sequence, which will contain the ``Default`` group which references the
141141
same group sequence, ...).
142+
143+
.. caution::
144+
145+
Calling ``validate()`` with a group in the sequence (``Strict`` in previous example)
146+
will cause a validation **only** with that group and not with all the groups in the
147+
sequence.
148+
This is because sequence is now referred to ``Default`` group validation.
142149

143150
You can also define a group sequence in the ``validation_groups`` form option::
144151

0 commit comments

Comments
 (0)
0