compat.dump
raises ValidationError when nullable Nested fields (with required subfields) without dump_only of a ResponseSchema are None
#305
Labels
bug
Something isn't working
We found this issue when observed a ValidationError being thrown when serializing the response of an endpoint. The curiosity of this issue is that it happens in the
compat.dump
when all of these are true:Then by reading the compat.dump code and the called functions, we've seen that setting
dump_only=True
on the Nested field served as a workaround.More info:
This bug happens at least on version 3.2.0
The text was updated successfully, but these errors were encountered: