I have documents A and B where A needs to be synced before B.
Can I use a push filter and pendingDocumentIDs to do this? My plan was to, in the push filter, check the if A is in pending docs, and block B if it is. Will this work?
My use case is that both documents were created when the app was offline and are synced at the same time.
If you do this, there is a chance that B will not sync at all. If you want to do this logic, you can set up a second one shot replicator with docIDs filtered to just A, run that to completion, and then start the normal replication.