How GuardHelpers.editDocument mutates the document. Each present key becomes one patch op, applied in set → unset → insert order in a single commit; the shapes mirror the client's patch builder.
set
unset
insert
Optional
How GuardHelpers.editDocument mutates the document. Each present key becomes one patch op, applied in
set→unset→insertorder in a single commit; the shapes mirror the client's patch builder.