crjdt
crjdt copied to clipboard
A conflict-free replicated JSON datatype (CRDT) in Scala
Hi, Thanks for awesome library. It is quite difficult for a regular developer like me to figure out how to use the library. Could you please add some usage examples...
Hi It looks like JSON CRDT described in the paper suffers from 2 kinds of unbounded growth problems - Tombstones in lists/sets - Applied operations Are there any ways to...
I'm currently using the amazing [LSEQ CRDT](https://hal.archives-ouvertes.fr/hal-00921633/document) in a collaborative editor, and the new-ish JSON CRDT has me really excited. I'm trying to start on a port to JavaScript, but...
The JSON CRDT [paper](https://arxiv.org/abs/1608.03960) was updated: "we have slightly refined the API, improved the clarity of explanations, and added some more examples". It would be great if the crjdt code...
I want to discuss whether MapNode key i.e. `StrK(str: String)` should encode operation id i.e. `Id(c: BigInt, p: ReplicaId)`. Current implementation of `StrK` does not contain operation id `Id`. Semantically...
Overriding causally dependent primitive value with empty list or map creates an empty register in document state. ```scala val p0 = Replica .empty("p") .applyCmd(doc.downField("key") := "A") .applyCmd(doc.downField("key") := `[]`) .applyCmd(doc.downField("key").iter.insert("A"))...
Document state to JSON conversion introduced from #12 does not handle duplicate key as reported at [this comment](https://github.com/fthomas/crjdt/pull/12#issuecomment-270645358). Duplicate key can be made when MapNode is updated with different type...