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

Add 'why doesn't the Serializer in 0.10 have to_json/as_json/serializable_hash' to common questions #1380

Closed
bf4 opened this issue Dec 16, 2015 · 1 comment

Comments

@bf4
Copy link
Member

bf4 commented Dec 16, 2015

see common issues and resolutions section in contributing

So, tl;dr the serializer has a different interface because it is different.

You could monkey patch the serializer with a call to the serializable resource and the attributes adapter?

The serializer in the 0.10 series does have attributes and associations methods.

and see https://github.com/rails-api/active_model_serializers/blob/master/docs/ARCHITECTURE.md

and perhaps #1371 (until it is merged, then ask me to update this issue).

and ref #1321 (comment)

@bf4
Copy link
Member Author

bf4 commented Apr 13, 2016

There's no demand for this. Closing as stale.

@bf4 bf4 closed this as completed Apr 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant