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.
2 parents 6b82466 + ddb9845 commit 6ce583bCopy full SHA for 6ce583b
reference/constraints/Valid.rst
@@ -249,6 +249,13 @@ Options
249
250
.. include:: /reference/constraints/_groups-option.rst.inc
251
252
+.. note::
253
+
254
+ Unlike other constraints, the ``Valid`` constraint does not use the ``Default``
255
+ group. This means that it will always be applied by default, **even** if you
256
+ specify a group when calling the validator. If you want to restrict the
257
+ constraint to a subset of groups, you have to define the ``groups`` option.
258
259
.. include:: /reference/constraints/_payload-option.rst.inc
260
261
``traverse``
0 commit comments