Open sbliven opened 1 year ago
Hey This is a big thing. Please prioritize this.
We have a similar issue to this but in this case i believe its a mismatch between the schema intent and actual data structure.
subset validates a list so:
complex_single: subset(include('person'))
should be :
complex_single: any(include('person'))
The
subset
validator accepts both single items and lists when used with primitives. However it does not validate single objects when included.schema.yaml
test.yaml
Errors
This seems potentially related to #133 and #217, which also involve errors when combining validators.