Skip to content

Conversation

@ismasan
Copy link
Owner

@ismasan ismasan commented May 17, 2019

Make schema definitions inspectable

So we can generate example documentation our of them.

So we can define a default adapter but also use different adapters at run-time as part of request content negotiation.
So a single serializer can wrap different objects in different presenters depending on the object’s type.

Useful when same serializer is used with disparate objects (ex. ActiveRecord, ElasticSearch, etc)
.new gets an already presented item
Presenter blocks form inheritance chain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants