ember-fryctoria icon indicating copy to clipboard operation
ember-fryctoria copied to clipboard

Ember Data sideload is not supported

Open Chun-Yang opened this issue 9 years ago • 0 comments

The following is a work around for sideload.

// posts are sideloaded with user
store.find('user').then(function(){
  if(store.all('post').get('length')) {
    store.syncer.syncDown('post');
  } else {
    return store.find('post');
  }
});

Chun-Yang avatar Apr 10 '15 04:04 Chun-Yang