mongodb / stitch-ios-sdk

Apache License 2.0
42 stars 25 forks source link

STITCH-2291 Recovery logic in sync conflict handling functions #119

Closed adamchel closed 5 years ago

adamchel commented 5 years ago

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.

adamchel commented 5 years ago

@dkaminsky PTAL