Skip to content
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

Serializers now inherit attributes #880

Merged
merged 1 commit into from
May 18, 2015

Conversation

groyoh
Copy link
Member

@groyoh groyoh commented Apr 23, 2015

I changed the behaviour of the serializer so that subclasses of a serializer also inherit the associations and attributes of its parent.

@joaomdmoura
Copy link
Member

LGTM @groyoh thank you so much, nice work, any thoughts about it @kurko ?

@benedikt
Copy link
Contributor

I'd love to see this merged! Is there anything that has to be done before it's ready for a merge?

@remear
Copy link
Member

remear commented May 13, 2015

I tested these changes locally and they worked great. I'd also like to see this be merged soon.

@joaomdmoura
Copy link
Member

Tks for the feedback @benedikt and @remear I'll try to push it forward as soon as possible 😄

@joaomdmoura
Copy link
Member

Just check it! I'm merging it 👍

joaomdmoura added a commit that referenced this pull request May 18, 2015
Inabling subclasses serializers to inherit attributes
@joaomdmoura joaomdmoura merged commit d981ee5 into rails-api:master May 18, 2015
@groyoh groyoh deleted the serializer-inheritance branch May 18, 2015 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants