I'm using ember-data
, but when use find
to search place, and get a list of places for user. My payload may contain a list of places, how I should normalize this response. store.find
don't allowed a array. How I deal with this list?
Follow a error which I get cause this.
Cannot read property 'getRecord' of undefined TypeError: Cannot read property 'getRecord' of undefined
Aucun commentaire:
Enregistrer un commentaire