ember.js - Embedded model does not display from cache -


when trying load embedded data, have problem in when model cached on page, embedded data not load in view. if, however, it reloaded scratch , therefore read api, load. can see data being loaded model ember inspector plugin, however. if tell me issue here data load every time, appreciated. many thanks.

import ds 'ember-data'; import webapiserializer 'ember-web-api/serializers/web-api';  export default webapiserializer.extend(ds.embeddedrecordsmixin,{     attrs: {         subjects: { embedded: 'always' }     } }); 

models

import ds 'ember-data';  export default ds.model.extend({     name: ds.attr('string'),     graduationdate: ds.attr('string'),     institutionlevel : ds.attr('string'),     subjects: ds.hasmany('subject'),     cv: ds.belongsto('cv') });  import ds 'ember-data';  export default ds.model.extend({     name: ds.attr('string'),      grade: ds.attr('string'),      education: ds.belongsto('education') }); 


Comments