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 8bfa680 commit 6f1a420Copy full SHA for 6f1a420
reference/constraints/Valid.rst
@@ -243,6 +243,13 @@ the validation of the ``Address`` fields failed.
243
App\Entity\Author.address.zipCode:
244
This value is too long. It should have 5 characters or less.
245
246
+.. include:: /reference/constraints/_empty-values-are-valid.rst.inc
247
+
248
+.. note::
249
250
+ This constraint is not aware what sub-object must be associated with it, a common solution is to combine this constraint
251
+ with :doc:`Type </reference/constraints/Type>`.
252
253
Options
254
-------
255
0 commit comments