I want to push some updates using websocket
and pushPayload
. The problem is that sometimes websocket update comes earlier that actual transaction of store
finishes, which brings the errors, like this one:
ember.debug.js:17636 Assertion Failed: You cannot update the id index of an InternalModel once set. Attempted to update 1569.
So I'd like to make sure that there are no transactions in flight before actually pushing any data.
Aucun commentaire:
Enregistrer un commentaire