We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have a presenter like this
class ImagePresenter extends Presenter { type = 'image' }
and feed it with data looking like this:
{ id: 1, name: 'Bar', images: [{ id: 2, url: 'foo' }] }
The result will be like this (note objects instead of images):
{ data: { id: 1, type: 'event', attributes: { name: 'Bar' }, relationships: { images: { data: [{ id: 2 type: 'objects' }] } } } }
The text was updated successfully, but these errors were encountered:
Is this still an issue in 3.0?
Sorry, something went wrong.
No branches or pull requests
If I have a presenter like this
and feed it with data looking like this:
The result will be like this (note objects instead of images):
The text was updated successfully, but these errors were encountered: