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
There is a very custom use case in DRF, called RelatedField which subclasses Field and thus sits just a little underneath the usual class hierarchy of Serializer. They are quite similar, but I unfortunately cannot simply plug-n-play a subclass of RelatedField inside a call to NestedField.
So, I'm wondering if there's room to build support in the wiring of NestedField or perhaps to make a new integration point like NestedRelatedField to accommodate this issue.
The text was updated successfully, but these errors were encountered:
There is a very custom use case in DRF, called
RelatedField
which subclassesField
and thus sits just a little underneath the usual class hierarchy ofSerializer
. They are quite similar, but I unfortunately cannot simply plug-n-play a subclass ofRelatedField
inside a call toNestedField
.So, I'm wondering if there's room to build support in the wiring of
NestedField
or perhaps to make a new integration point likeNestedRelatedField
to accommodate this issue.The text was updated successfully, but these errors were encountered: