Believe I found a bug related to optionally storing models in the modelStore.
this.app.fetcher.fetch(
{
user: {model: 'Account',}
},
{
'readFromCache': false,
'writeToCache': false //handle this manually in the success method (handleLoginResponse)
},
this.handleLoginResponse.bind(this)
);
If we set a breakpoint in this.handleLoginResponse we will find that this.app.fetcher.modelStore.cache has an entry for the Account model. If you check shared/fetcher.js we see the option to skip the write to cache is respected. However if we look at line shared/base/model.js in the model is still written to the store.
Believe I found a bug related to optionally storing models in the modelStore.
If we set a breakpoint in this.handleLoginResponse we will find that this.app.fetcher.modelStore.cache has an entry for the Account model. If you check shared/fetcher.js we see the option to skip the write to cache is respected. However if we look at line shared/base/model.js in the model is still written to the store.