We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent2928045 commitcf049edCopy full SHA for cf049ed
reference/constraints/Collection.rst
@@ -224,10 +224,11 @@ field is optional but must be a valid email if supplied, you can do the followin
224
}
225
226
227
-Even without ``allowMissingFields`` set to true, you can now omit the ``alternate_email`` property
228
-completely from the ``profileData`` array, since it is ``Optional``. However, if the the ``personal_email``
229
-field does not exist in the array there will be a constraint violation that the field is missing,
230
-since it is ``Required``.
+Even without ``allowMissingFields`` set to true, you can now omit the ``alternate_email``
+property completely from the ``profileData`` array, since it is ``Optional``.
+However, if the the ``personal_email`` field does not exist in the array,
+the ``NotBlank`` constraint will still be applied (since it is wrapped in
231
+``Required``) and you will receive a constraint violation.
232
233
Options
234
-------