ember-localstorage-adapter
ember-localstorage-adapter copied to clipboard
Polymorphic hasMany requires different key storage format
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).
I can verify that this is happening.
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.