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
into a separate function? Specifically, the part that creates a map of JSONAPI attributes to Marshmallow fields?
The use case I have in mind is being able to tell which attributes I'll end up with before dumping. I would still need to apply inflect(attribute) and check field_obj.load_only, but at least I don't have to rely on internal API.
The text was updated successfully, but these errors were encountered:
Would a PR be accepted that pulled out part of this code:
marshmallow-jsonapi/marshmallow_jsonapi/schema.py
Lines 320 to 341 in d3ef934
into a separate function? Specifically, the part that creates a map of JSONAPI attributes to Marshmallow fields?
The use case I have in mind is being able to tell which attributes I'll end up with before dumping. I would still need to apply
inflect(attribute)
and checkfield_obj.load_only
, but at least I don't have to rely on internal API.The text was updated successfully, but these errors were encountered: