From 6343b24a6d0f11a96c37f28af2822c3f16c99059 Mon Sep 17 00:00:00 2001 From: Philipp Cordes Date: Sat, 12 Jan 2019 19:23:19 +0100 Subject: [PATCH] Describe actual traversal behaviour --- reference/constraints/Valid.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/constraints/Valid.rst b/reference/constraints/Valid.rst index 72c4fb55792..fed9d1e7fd8 100644 --- a/reference/constraints/Valid.rst +++ b/reference/constraints/Valid.rst @@ -261,8 +261,8 @@ traverse **type**: ``boolean`` **default**: ``true`` -If this constraint is applied to a property that holds an array of objects, -then each object in that array will be validated only if this option is -set to ``true``. +If this constraint is applied to a ``Traversable``, then all containing values +will be validated if this option is set to ``true``. This option is ignored on +arrays: Arrays are traversed in either case. Keys are not validated. .. include:: /reference/constraints/_payload-option.rst.inc 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