-
Notifications
You must be signed in to change notification settings - Fork 43
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
Replace all store.push(type, data)
calls with store.push(data)
calls
#42
Comments
Can you please provide more info on dropping the type argument? |
@Serabe since |
Thank you, @knownasilya. Then, one conversion would be:
to:
Wouldn't it? Note: The json was written by hand directly in the comment textarea, there might be some unbalance [, { or (. P.S. Just so nobody gets nervous reading this, ), }, ]. xkcd |
We might also need support for |
@abuiles I don't see how those methods change after JSONAPI. |
agreed |
Ember data has all the necessary helpers that do this, just need to use those and notice where store.push is used. Will need to parse DS.Model definitions for it to work though
The text was updated successfully, but these errors were encountered: