Skip to content

Relationship serializer class option #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Relationship serializer class option #94

wants to merge 3 commits into from

Conversation

jomey
Copy link

@jomey jomey commented Dec 7, 2016

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
Copy link
Owner

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
Copy link
Author

jomey commented Dec 9, 2016

I see the one for the constant.

Anything else?

@fotinakis
Copy link
Owner

inlcude_data

Joachim Meyer added 3 commits December 9, 2016 16:07
Add new option when declaring a relationship in the serializer that specifies
the serializer class. This will take precedence over looking up the serializer
based on the given object to serialize.
@jomey
Copy link
Author

jomey commented Dec 10, 2016

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

@jomey jomey closed this Jun 30, 2018
@jomey jomey deleted the relationship_serializer_class_option branch June 30, 2018 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants