lundi 30 novembre 2015

extract to normalizeReponse issue

I am migrating ember & ember-data from 1.12 to 1.13. During same, I got deprecation message to rename extract methods as normalizeResponse of serializer. After doing same I am getting following error.

Assertion Failed: You must include an `id` for list-item in an object passed to `push`

But there are few models for which I am adding ids in extract method. But now, ember is throwing above error for normalizeResponse. How can I correct same?




Aucun commentaire:

Enregistrer un commentaire