DJDNS / go-deje

Golang library for DEJE Next, a protocol/technology for decentralized document hosting and concurrent editing.
GNU Lesser General Public License v2.1
8 stars 0 forks source link

Ensure lenient navigation #53

Open MaddieM4 opened 10 years ago

MaddieM4 commented 10 years ago

Part of the new design is that we don't break a document for having bad events. We apply parent events transactionally and ignore failures.

This means we need tests to confirm that when applying the (bad) history of an event:

This should be a pretty straightforward test-then-fix ticket, although it will most likely force some API changes.

MaddieM4 commented 10 years ago

API changes:

MaddieM4 commented 10 years ago

Event.Apply happens to be atomic already. Will work on multi-primitive cases in a separate ticket.