-
Notifications
You must be signed in to change notification settings - Fork 584
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
Handle sync config in Realm.deleteFile #2045
Conversation
realm::Realm::Config config; | ||
|
||
static const String path_string = "path"; | ||
ValueType path_value = Object::get_property(ctx, object, path_string); | ||
ValueType path_value = Object::get_property(ctx, config_object, path_string); |
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.
Can it be moved after line 771 and before 772?
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.
Ugh 😑 It can, but will look ugly
3924e27
to
3d84731
Compare
The test failure seems unrelated to these changes, so I'll go ahead and merge this PR. |
What, How & Why?
This allows us to delete Realm files by passing in a sync config.
☑️ ToDos
Compatibility
label is updated or copied from previous entry📝 Public documentation PR created or is not necessary💥Breaking
label has been applied or is not necessary