-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
store.push can't handle top-level JSON API types being plural #3541
Comments
@kagemusha Try using The
|
@wecc Maybe we should assert that ED can lookup the type in |
@bmac thanks, that works. Thought i read somewhere that pushPayload gonna be deprecated at some point and everything will go thru push in future. In that the case? |
Looking the jsonapi format doc seems top-level types should be plural, yet store.push fails when you pass plurals.
Failure is at the modelFor call in _pushInternalModel fn in store
As plurals work fine for store.findRecords, shouldn't they work here too?
The text was updated successfully, but these errors were encountered: