-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support opening a synchronized realm without synchronizing #621
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to see some test that demonstrates the use case of opening a realm with SyncFollowerConfiguration.
5c289db
to
0dc0e3a
Compare
It is tricky to write a test that can run in a single process for this. I have a sample app that is running fine with this, and the code is really simple. I will set ready-for-review. |
0dc0e3a
to
0c625a5
Compare
Another test you can write is to create a Realm with a proper sync config, write some data, then close it. Then create a |
2af5d5a
to
8ec4bb5
Compare
f9f59f0
to
5b7f625
Compare
The change is needed, but lets discuss how to expose it. |
54e82ba
to
34a599d
Compare
Use the new `SyncFollowerConfiguration` to open a synchronized realm, without actually starting a sync session.
34a599d
to
388eb8b
Compare
98d6e24
to
b60e9e1
Compare
Co-authored-by: blagoev <[email protected]>
Co-authored-by: blagoev <[email protected]>
Use the new
DisconnectedSyncConfiguration
to open a synchronized realm,without actually starting a sync session.