Open nickschot opened 7 years ago
Yeah this is not going to work with Ember Data, I should probably mention this in the README.md.
Ember Data would need more logic like pushing the original response into the store.
That'll work for me! A note in the README would be good indeed.
Workaround which currently works for ember-data: https://github.com/Appchance/ember-cached-shoe
A model hook as follows:
results in a JSON parsing error. I get this when using ember-data + fastboot + ember-ajax. This is likely because the ember model instance has a circular reference of some kind.
Might be related to: https://github.com/ember-fastboot/fastboot/issues/99
Stacktrace: