This PR adds the remaining undo collection logic in DataSynchronizer.swift for correct recovery in all failure cases, and also tests to make sure that undo documents are not leaked in any normal CRUD scenario.
I also drove-by the remaining deferred event emitting blocks, and made the unit tests compile again.
This PR adds the remaining undo collection logic in
DataSynchronizer.swift
for correct recovery in all failure cases, and also tests to make sure that undo documents are not leaked in any normal CRUD scenario.I also drove-by the remaining deferred event emitting blocks, and made the unit tests compile again.