Given two serializers with filters_for
, context isn't passed to the associated serializer
#71
Labels
filters_for
, context isn't passed to the associated serializer
#71
As title says, it seems like if I have
SerializerA
with afilters_for
defined (and looking at the context argument), andSerializerA
has a relationship defined withSerializerB
who also has afilters_for
defined, it seems thatSerializerB
is NOT passed the context object, which can cause errors.I am not sure if this is expected, and or if I have something configured incorrectly, as the docs are kinda slim on filters_for
Edit: Further, as a suggestion, wouldn't it be appropriate to only call
filters_for
on the "entry" Serializer, or are there use cases where a context property should cascade through themThe text was updated successfully, but these errors were encountered: