jasminb / jsonapi-converter

JSONAPI-Converter is a Java/Android library that provides support for working with JSONAPI spec
Apache License 2.0
272 stars 81 forks source link

MULTIPLE TYPE TO SAME OBJECT #228

Open aggarwalpulkit596 opened 4 years ago

aggarwalpulkit596 commented 4 years ago

Please Add Support for Multiple Types like in this library https://github.com/faogustavo/JSONApi Screenshot 2019-11-24 at 11 44 12 AM

aggarwalpulkit596 commented 4 years ago

@jasminb Hey Can you Take a Look at this

frakc commented 4 years ago

Why not use polymorphic relations? Just create 2 models which implement the same interface/ See red me section there is a nice example