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
Currently it's not possible to automatically infer corresponding serializer field type for PydanticSchemaField.
Some third-party libraries patch ModelSerializer field registry to achieve such behaviour.
What I'd like to know is:
How ModelSerializer treats model's PydanticSchemaField by default, since it is a subclass of JSONField.
Is it possible to simply patch ModelSerializer registry with corresponding serializer field type.
The text was updated successfully, but these errors were encountered:
Currently it's not possible to automatically infer corresponding serializer field type for
PydanticSchemaField
.Some third-party libraries patch
ModelSerializer
field registry to achieve such behaviour.What I'd like to know is:
ModelSerializer
treats model'sPydanticSchemaField
by default, since it is a subclass of JSONField.ModelSerializer
registry with corresponding serializer field type.The text was updated successfully, but these errors were encountered: