automerge/automerge/src/storage/load
Alex Good 3d59e61cd6
Allow empty changes when loading document format
The logic for loading compressed document chunks has a check that the
`max_op` of a change is valid. This check was overly strict in that it
checked that the max op was strictly larger than the max op of a
previous strange - this rejects valid documents which contain changes
with no ops in them, in which case the max op can be equal to the max op
of the previous change. Loosen the logic to allow empty changes.
2022-09-30 19:00:48 +01:00
..
change_collector.rs Allow empty changes when loading document format 2022-09-30 19:00:48 +01:00
reconstruct_document.rs Correctly load documents with deleted objects 2022-09-12 12:38:57 +01:00