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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -