67dbd6d345
If a block was defined via "dynamic", there will be only one block value until the expansion is known. Since we can't detect dynamic blocks at this point, don't verify MinItems while there are unknown values in the config. The decoder spec can also only check for existence of a block, so limit the check to 0 or 1. |
||
---|---|---|
.. | ||
coerce_value.go | ||
coerce_value_test.go | ||
decoder_spec.go | ||
decoder_spec_test.go | ||
doc.go | ||
empty_value.go | ||
empty_value_test.go | ||
implied_type.go | ||
implied_type_test.go | ||
internal_validate.go | ||
internal_validate_test.go | ||
nestingmode_string.go | ||
none_required.go | ||
schema.go | ||
validate_traversal.go | ||
validate_traversal_test.go |