8000 mark deep option as deprecated by snoek09 · Pull Request #5957 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

mark deep option as deprecated #5957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
mark deep option as deprecated
  • Loading branch information
Henry Snoek committed Dec 5, 2015
commit bc8293b98db852996c52f5f8c8be71b161d914cd
8 changes: 7 additions & 1 deletion reference/constraints/Valid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ an object and all sub-objects associated with it.
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+---------------------------------------------------------------------+
| Options | - `traverse 79DE `_ |
| | - `deep`_ |
| | - `deep`_ (deprecated as of 2.5) |
| | - `payload`_ |
+----------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Valid` |
Expand Down Expand Up @@ -271,6 +271,12 @@ set to ``true``.
deep
~~~~

.. caution::

The ``deep`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. When traversing arrays, nested arrays are always traversed.
When traversing nested objects, their traversal strategy is used.

**type**: ``boolean`` **default**: ``false``

If this constraint is applied to a property that holds an array of objects,
Expand Down
0