fotinakis / jsonapi-serializers

Pure Ruby readonly serializers for the JSON:API spec.
MIT License
414 stars 91 forks source link

Relationship serializer class option #94

Closed jomey closed 6 years ago

jomey commented 7 years ago

Add new serializer option when declaring a relationship. This is helpful when there are shared relationship serializers that are outside of lookup namespace.

For instance this serializer project structure:

- serializers
-- v1
--- resource1
--- shared
---- resource2
fotinakis commented 7 years ago

Cool, I think I'm good with this architecture. There are a bunch of spelling mistakes all over, can you do a pass over?

jomey commented 7 years ago

I see the one for the constant.

Anything else?

fotinakis commented 7 years ago

inlcude_data

jomey commented 7 years ago

Fixed these two, plus added a link in the README for the new section.