You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if the response to DS.create belongs in completedQueries or not, but would be useful if it was as it would avoid an unnecessary XHR:
DS.create('document',{author: 'John Anderson'}).then(function(document){DS.get('document',document.id)// pulls from cache properlyDS.find('document',document.id)// triggers another XHR for the same document already in the cache});
Thanks for all the great work on this library!
The text was updated successfully, but these errors were encountered:
Not sure if the response to
DS.create
belongs in completedQueries or not, but would be useful if it was as it would avoid an unnecessary XHR:Thanks for all the great work on this library!
The text was updated successfully, but these errors were encountered: