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
This package could support update calls that replace the entire document, e.g., collection.update("myId", {a: 1, b: 2}).
The first thing to decide is how such an operation is represented in the transaction history. I have a prototype implementation, based on my prototype of #80, that represents it as a remove followed by an insert. This probably won't work with soft deletes. Alternatively, we could add a new action type, "replace", and try to add support for it in undo and redo without duplicating a ton of code. :/
The text was updated successfully, but these errors were encountered:
This package could support
update
calls that replace the entire document, e.g.,collection.update("myId", {a: 1, b: 2})
.The first thing to decide is how such an operation is represented in the transaction history. I have a prototype implementation, based on my prototype of #80, that represents it as a remove followed by an insert. This probably won't work with soft deletes. Alternatively, we could add a new action type,
"replace"
, and try to add support for it in undo and redo without duplicating a ton of code. :/The text was updated successfully, but these errors were encountered: