Closed esistgut closed 5 years ago
I think this behavior was broken by https://github.com/locks/ember-localstorage-adapter/commit/c34acd786633ae96f7ddfb211f630bac3aa255b2
The change from using ===
to using DS.LSAdapter.prototype.isPrototypeOf
was great, but it should still have been looking at foreignAdapter
. That var got removed in a later cleanup step since it didn't appear to be used, but it needs to go back in: var foreignAdapter = store.adapterFor(relationModel);
I have a "local-service" with a relationship to "service". If I try to query the first one I get this:
but the service model is working fine on his own:
This is the relevant dump of my localstorage:
and this is the local model:
The service model uses an adapter built on top of the rest adapter. I am using ember-cli@2.5.0, ember-data@2.5.2 and ember-localstorage-adapter@1.0.0-rc.1.
What am I doing wrong?