Skip to content

Commit fa004a4

Browse files
committed
Describe actual traversal behaviour
1 parent ec0e8b2 commit fa004a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/constraints/Valid.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ traverse
261261

262262
**type**: ``boolean`` **default**: ``true``
263263

264-
If this constraint is applied to a property that holds an array of objects,
265-
then each object in that array will be validated only if this option is
266-
set to ``true``.
264+
If this constraint is applied to a ``Traversable``, then all containing values
265+
will be validated if this option is set to ``true``. This option is ignored on
266+
arrays. Arrays are traversed in either case. Keys are not validated.
267267

268268
.. include:: /reference/constraints/_payload-option.rst.inc

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy