Closed
Description
Currently, Automerge operations and objects can be referred to by their OpId
which is a string of the form ${counter}@${actorId}
. To refer to these ids within an Automerge document (e.g. for linking between notes) it might be nice to introduce a dedicated primitive datatype in the binary format. This would allow Automerge to automatically update the ids in case their format changes. The interface could look as follows.
Automerge.change(doc0, doc => {
doc.linkToNote = OpId("3@actorId")
}
Metadata
Metadata
Assignees
Labels
No labels
Activity