Open phritz opened 4 years ago
in https://github.com/rocicorp/replicache/issues/30#issue-599410531 i proposed some invariants that we should check during sync to reduce the chances that we have a bug / data corruption. i had planned to do that here https://github.com/rocicorp/replicache-client/blob/8defd6d1ad365de4de3e34b2c5bed2c014ff3408/db/sync.go#L130
replicache-client no longer relevant, but this issue is still a good idea in repc: https://github.com/rocicorp/repc/blob/a5ee7e5caeebdd41205046356853b22dfd0aed56/src/sync/mod.rs#L277
in https://github.com/rocicorp/replicache/issues/30#issue-599410531 i proposed some invariants that we should check during sync to reduce the chances that we have a bug / data corruption. i had planned to do that here https://github.com/rocicorp/replicache-client/blob/8defd6d1ad365de4de3e34b2c5bed2c014ff3408/db/sync.go#L130