Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix same-key reference for not-key UUID #24

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,12 @@ The syntax outline:
* RON abbreviates similar UUIDs using prefix compression, e.g.
`1D4ICCE+XU5eRJ` gets compressed to `{E` if preceded by `1D4ICC+XU5eRJ`
(symbols `([{}])` corespond to 4,5,..9 symbols of shared prefix)
* by default, an UUID is compressed against the same UUID in the previous op
* by default, a key UUID is compressed against the same UUID in the previous op
(e.g. event id against the previous event id)
* backtick \` changes the default UUID to the previous UUID of the same op
(e.g. event id against same op's object id)
* the first value UUID is compressed against the object UUID of the op,
each other is compressed against the previous one.

Consider a simple JSON object:

Expand Down