Closed solsson closed 8 years ago
We rejected the idea to update 'previous' on existing elements, #18. Instead:
This means that server-side reconcile uses 'previous' to identify added units (while also receiving modified units without 'previous'). When multiple 'previous' point to the same pre-existing unit they are persisted in order of appearance in the reconcile body.
Minor clarification: An added unit can also reference another added unit. It depends which order they were created. Both alternatives below should produce the same resulting document.
Original:
Alternative 1:
Alternative 2:
9 didn't have this, while addAfter had.