marshmallow-jsonapi icon indicating copy to clipboard operation
marshmallow-jsonapi copied to clipboard

Relationship deserialization when include_resource_linkage is False

Open anuragagarwal561994 opened this issue 8 years ago • 0 comments

If include_resource_linkage = False while specifying a relationship, I will not get data field in the output on serialisation (only link).

Now if I am working on strict = True and I try to deserialize the serialized object, I will run into an error which will say that the data fields from my relationships are missing.

If not working in strict mode, this works but I am not sure if this the expected behaviour for strict = True.

anuragagarwal561994 avatar Sep 12 '17 07:09 anuragagarwal561994