ember-localstorage-adapter
ember-localstorage-adapter copied to clipboard
Name says it all.
From https://github.com/emberjs/data/blob/v2.1.0/packages/ember-data/lib/system/relationships/state/relationship.js#: setHasData: ``` /*All relationships for a newly created ('store.createRecord()') are considered known ('hasData === true'). */ ``` => serializeHasMany: ``` serializeHasMany: function(snapshot, json, relationship) { //.. //json[payloadKey] =...
I found this led to huge improvements in performance, at least when using reduceComputed / @each obervers on large arrays: in findMany: ``` javascript //... if (opts && typeof opts.allowRecursive...
I am still an Ember.js noob, so I'm not sure what needs to be done to make the Emberjs.com ToDoMVC application work with Internet Explorer 10. It took me numerous...
Using ember-data 1.13.14 with the master branch of ember-localstorage-adapter, query() and queryRecord() calls are never returning any data. I've worked around it by using store.filter().
Does this still only support up until Ember Data 1.0.beta.16?
https://github.com/kurko/ember-localstorage-adapter/pull/121 seems to create problems for apps running ember-data 1.0.0-beta.16.1. I get this exception after upgrade from 0.5.3 to 0.5.4: _Uncaught TypeError: Cannot read property 'typeKey' of undefined_ Stack trace:...
i'm wondering how you would set ember cli working with localstorage-adapters relationship. the LOC in question is this: https://github.com/kurko/ember-localstorage-adapter/blob/master/localstorage_adapter.js#L408 basically, my app is structured such that the `ApplicationAdapter` is a...
I had an issue today with relations not persisting over a reload using the localStorageAdapter. Loading fixtures from an action: ``` Driver.IndexController = Ember.ObjectController.extend({ actions: { /** * An action...
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...
I am working on a custom adapter were the storage is a plain file, and to start with, I have borrowed some code from this adapter, which apparently is based...