Skip to content

Integrate Serializers or Presenters #1

@vanstee

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions