File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -132,16 +132,18 @@ With this configuration, there are three validation groups:
132132
133133``Default ``
134134 Contains the constraints in the current class and all referenced classes
135- that belong to no other group. Contains the constraint on the `` city ``
136- field only .
135+ that belong to no other group. In this example, it only contains the
136+ `` city `` field .
137137
138138``User ``
139139 Equivalent to all constraints of the ``User `` object in the ``Default ``
140140 group. This is always the name of the class. The difference between this
141141 and ``Default `` is explained in :doc: `/validation/sequence_provider `.
142142
143143``registration ``
144- Contains the constraints on the ``email `` and ``password `` fields only.
144+ This is a custom validation group, so it only contains the constraints
145+ explicitly associated to it. In this example, only the ``email `` and
146+ ``password `` fields.
145147
146148Constraints in the ``Default `` group of a class are the constraints that have
147149either no explicit group configured or that are configured to a group equal to
You can’t perform that action at this time.
0 commit comments