-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
Using Ember Data 2.0.0-beta1 with ActiveModel::Serializer::Adapter::JsonApi #1080
Comments
Right, the JSONAPI spec does not take a stance on whether the |
I'm working on a PR to add this. Should be ready in a few minutes. Could you test it when it's out? |
Absolutely! |
@mattboldt Here it is. Simply set |
Yes, this worked! Thanks so much. |
Since the new ember no longer has
DS.ActiveModelSerializer
orDS.ActiveModelAdapter
, I'm looking to switch to their newDS.JSONAPISerializer
. This seems to be the best way to go, if the previous two won't be supported in the future.Ember is expecting the data from the api to be something like
But from my rails app, with the
:json_api
option set to true, my api is returninguser
asusers
plural.Ember expects a singular model name, and as such cannot push data.
The text was updated successfully, but these errors were encountered: