Join Slack
Powered by
How can a custom format support polymorphic serial...
# serialization
f
Fudge
08/11/2019, 11:26 AM
How can a custom format support polymorphic serialization by accepting a
SerialModule
? I can't find where
Json
and other formats handle the
SerialModule
.
d
Dominaezzz
08/11/2019, 12:27 PM
Look in the
PolymorphicSerializer
class
👍 1
f
Fudge
08/12/2019, 9:01 AM
Ah, I simply needed to override
context
, in my encoder, thanks
4
Views
Open in Slack
Previous
Next