-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Right now overriding the built in as_json method for each model is kind of a pain and should really be split out into a separate class. Integration with active_model_serializers would be ideal but providing a simple way to use any presenter gem would be really useful.
This would also take care of limiting or adding custom attributes, embedding other model representations, and including hypermedia type links to related resources. It would also probably be nice to put these kind of things in the standard "out of the box" representations.