You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to merge and move a model to a particular index. When I pass the option { merge : true, at: 0 } it does merge but not moving the model to the given index.
The text was updated successfully, but these errors were encountered:
I believe there is a bug in backbone-relational's Collection.set implementation. The merge parameter is being overridden to false, but I can't think of any reason why it should be. Because of this existing model updates get dropped.
add(..., {merge: true}) works as expected when I remove this.
Because at that point, updates should already have been merged into the model - through the _prepareModel->findOrCreate route. Do you maybe have an example where that doesn't happen? Removing the merge: false causes other tests to fail.
I want to merge and move a model to a particular index. When I pass the option { merge : true, at: 0 } it does merge but not moving the model to the given index.
The text was updated successfully, but these errors were encountered: