Skip to content

Integrate Serializers or Presenters #1

Description

@vanstee

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions