8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633c448 commit f3bfe35Copy full SHA for f3bfe35
reference/constraints/Valid.rst
@@ -297,6 +297,13 @@ Options
297
298
.. include:: /reference/constraints/_groups-option.rst.inc
299
300
+.. note::
301
+
302
+ Unlike other constraints, the ``Valid`` constraint does not use the ``Default``
303
+ group. This means that it will always be applied by default, **even** if you
304
+ specify a group when calling the validator. If you want to restrict the
305
+ constraint to a subset of groups, you have to define the ``groups`` option.
306
307
.. include:: /reference/constraints/_payload-option.rst.inc
308
309
``traverse``
0 commit comments