You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adapter does not appear to be storing the item keys in the list of a polymorphic hasMany association as hashes containing the item type. Apparently this is a requirement for polymorphic associations to work.
It's possible that I've missed something obvious. I am being a bit naughty and using 1.0.0beta7 instead of the stated requirement of beta6 of ED.
Currently, it fails like Ember Data bug #1622 (in which someone needed to ensure that their REST adapter was returning the correct ID list format).
The text was updated successfully, but these errors were encountered:
orospakr
changed the title
Polymorphic hasMany requires different key storage
Polymorphic hasMany requires different key storage format
Mar 23, 2014
Experiencing this issue also. Keeping me from using ember-localstorage-adapter. Instead, I'm rolling my own Array using https://gist.github.com/tomdale/11360257 and handling the serialization / deserialization myself.
The adapter does not appear to be storing the item keys in the list of a polymorphic hasMany association as hashes containing the item type. Apparently this is a requirement for polymorphic associations to work.
It's possible that I've missed something obvious. I am being a bit naughty and using 1.0.0beta7 instead of the stated requirement of beta6 of ED.
Currently, it fails like Ember Data bug #1622 (in which someone needed to ensure that their REST adapter was returning the correct ID list format).
The text was updated successfully, but these errors were encountered: