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

Add keyForType option to deserialization

Open lostintime opened this issue 9 years ago • 2 comments

... to be able to get 'type' field value in deserialized object.

*There may be another way I didn't find to achieve this).

lostintime avatar May 02 '16 07:05 lostintime

Not sure to understand the need of this? Can you clarify your use case @lostintime ?

SeyZ avatar Apr 01 '17 10:04 SeyZ

@SeyZ it may be useful if endpoint is accepting multiple input entity types, but if it look useless for you - feel free to drop it, not sure if I'm using this myself anymore )

lostintime avatar Apr 03 '17 05:04 lostintime