marshmallow-oneofschema
marshmallow-oneofschema copied to clipboard
Ability to set type_field errors dynamically
There are a few hard coded errors in the _load
method that would be nice to be able to set dynamically without overriding the method.
This is helpful in the case where the type_field
is being used for the schema routing but type_field_remove
is also set to False
so the data is passed along and used elsewhere.