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

php - How to pass multiple values from url -

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

database - php search bar when I press submit with nothing in the search bar it shows all the data -