rafamel / rxdb-utils

RxDB's missing pieces
MIT License
69 stars 5 forks source link

Client-side conflict resolution #5

Open rafamel opened 5 years ago

rafamel commented 5 years ago

Adding this for future reference.

With the current architecture of RxDB, immediate interception of conflicting revs for eventual conflicts doesn't seem possible.

There are two strategies to consider:

Relevant: pouch-resolve-conflicts, deconflict, PouchDB docs on eventual conflicts, CouchDB find docs, Cloudant docs on conflicts

motin commented 5 years ago

What is the rationale for reporting this against rxdb-utils as opposed to rxdb directly?

rafamel commented 5 years ago

I was planning on implementing this on this library - @pubkey had suggested for it to be implemented as a plugin. Other than that, it's just rather a note to self of sorts, just in case I had the same idea again, so I could quickly take a look at the rationale I had when thinking about this.

MentalGear commented 3 years ago

Automatic Conflict resolution would be a great addition for rxdb. Since @rafamel already seems to have worked out a way to add this, I wanted to tip you a great library which could handle conflicts automatically: ttps://github.com/automerge/automerge.