marshmallow-oneofschema icon indicating copy to clipboard operation
marshmallow-oneofschema copied to clipboard

Expect type_field_remove to remove the additional type-field in dump-Output

Open doigl opened this issue 3 years ago • 0 comments

When setting type_field_remove to True, I would expect that there is no additional type field in the output, when dumping a OneOfSchema-Class. But this is not the case. The type field is only removed in the _load-function, not in the _dump-function.

doigl avatar Oct 22 '20 08:10 doigl