You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's preventing me from applying any special serialization rules to the type field in the downstream schemas since the serialized value is being overwritten by this line with the original, non serialized version.
IMO the decision of whether or not to add the type field to the serialized result should solely be the responsibility of the downstream schema.
I've overridden the _dump method with an exact copy minus this line (and the preceding line) in my own repo which seems to have solved the issue but I don't know if I may have introduced unexpected behaviour elsewhere.
What is the purpose of the following line?
marshmallow-oneofschema/marshmallow_oneofschema/one_of_schema.py
Line 118 in d65a115
It's preventing me from applying any special serialization rules to the type field in the downstream schemas since the serialized value is being overwritten by this line with the original, non serialized version.
IMO the decision of whether or not to add the type field to the serialized result should solely be the responsibility of the downstream schema.
I've overridden the
_dump
method with an exact copy minus this line (and the preceding line) in my own repo which seems to have solved the issue but I don't know if I may have introduced unexpected behaviour elsewhere.Related to #126
The text was updated successfully, but these errors were encountered: