Add ability to map different types of objects#32
Add ability to map different types of objects#32joshdholtz merged 6 commits intojoshdholtz:masterfrom ViralFoundry:master
Conversation
|
From a quick skim, does this allow the use of a protocol rather than subclassing JSONAPIResourceBase? If so a big 👍 :) |
|
@jamesbrooks Ahhh, that would be huge |
Add support for generic one to many relationships
|
@jamesbrooks Not quite that. This is about supporting different kinds of objects for one relationship property. Added both mapping and serialization support. |
|
@joshdholtz Can we please merge this PR? It adds support for polymorphic types which many API implementations are using. As discussed here: json-api/json-api#862 |
|
@ealeksandrov @tarbrain Yes yes, thanks for pinging me 😊 Will merge this and push a pod update this morning 👍 |
Add ability to map different types of objects
|
@ealeksandrov Thanks for the contribution 🙌 Happy holidays! |
|
Thanks 👍 |
|
|
No description provided.