lundi 22 juin 2015

this.store.metadataFor doesn't work in ember 1.13

Recently I was using 1.9 version of ember and beta16 of ember data and _this.store.metadataFor('user') worked perfectly for response like this

meta: {
  isLogin: true
  privateKey: null
  roomCode: "dea2ac4c0407886bac7d8fd092379a6e"
}
user:{
  id:1,
  login:'Alex'
}


But after upgrading to ember 1.13.2 and ember-data 1.13.2 _this.store.metadataFor('user') returns an empty object. Maybe something has changed in ember, but I didn't found any solutions to solve it. Appreciate for any help.




Aucun commentaire:

Enregistrer un commentaire