mongodb / stitch-ios-sdk

Apache License 2.0
42 stars 25 forks source link

STITCH-2312 Store uncommitted change events as BSON Binary #121

Closed adamchel closed 5 years ago

adamchel commented 5 years ago

This PR changes the BSON representation of CoreDocumentSynchronization.Config so that uncommitted change events are stored as a BSON binary. This is because the update description in the sync config can have .'s in the field, which is not permitted by the drivers. This is the solution we use on Android currently.

No new tests are added, as this functionality was tested by the previously failing testUpdateUsingUpdateDescription test, and existing unit tests for the core doc sync config.

Drive-bys: