ember.js - Ember Data store.unloadAll('myType') not unloading records -
ember.js - Ember Data store.unloadAll('myType') not unloading records -
i need unload types ember info store. doing in didtransition route hook. odd of types seek unload unloaded, not types are. records types remain in store after phone call store.unloadall. weirder can unload remaining types manually running unloadall 1 time again in console.
what causing unloadall work @ 1 point, not another? relationships?
note: none of objects dirty.
var typestounload = ['typeone', 'typetwo', 'typethree']; typestounload.foreach(function(type) { store.unloadall(type); });
ember.js ember-data store
Comments
Post a Comment