Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[BUG] If fields.Nested.unknown undefined it should fallback to schema.unkown instead RAISE #963
If fields.Nested.unknown is undefined, it should fallback to schema defaults instead of RAISE.
consider following example:
This will raise ValidationError on unknown field if fields.Nested(unknown=EXCLUDE) is not set, and it's not obvious. With this fix fields.Nested can override unknown, but will fallback to NestedSchema default if argument not provided.