File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ an object and all sub-objects associated with it.
9
9
| Applies to | :ref:`property or method <validation-property-target>` |
10
10
+----------------+---------------------------------------------------------------------+
11
11
| Options | - `traverse`_ |
12
- | | - `deep`_ |
12
+ | | - `deep`_ (deprecated as of 2.5) |
13
13
| | - `payload`_ |
14
14
+----------------+---------------------------------------------------------------------+
15
15
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Valid` |
@@ -271,6 +271,12 @@ set to ``true``.
271
271
deep
272
272
~~~~
273
273
274
+ .. caution::
275
+
276
+ The ``deep`` option was deprecated in Symfony 2.5 and will be removed
277
+ in Symfony 3.0. When traversing arrays, nested arrays are always traversed.
278
+ When traversing nested objects, their traversal strategy is used.
279
+
274
280
**type**: ``boolean`` **default**: ``false``
275
281
276
282
If this constraint is applied to a property that holds an array of objects,
You can’t perform that action at this time.
0 commit comments