maxDepth is the maximum number of ref
s to recursively follow before
validate throws MaxDepthExceededError.
If maxDepth is zero, then no maximum depth will be enforced.
validate will recursively follow ref
s indefinitely, potentially
causing a stack overflow.
By default, maxDepth is zero.
Generated using TypeDoc
ValidationConfig represents options you can pass to validate.