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:
132
132
133
133
``Default ``
134
134
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 .
137
137
138
138
``User ``
139
139
Equivalent to all constraints of the ``User `` object in the ``Default ``
140
140
group. This is always the name of the class. The difference between this
141
141
and ``Default `` is explained in :doc: `/validation/sequence_provider `.
142
142
143
143
``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.
145
147
146
148
Constraints in the ``Default `` group of a class are the constraints that have
147
149
either 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