-
Notifications
You must be signed in to change notification settings - Fork 585
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
Opening realm with sync enabled fails with empty string partition value #4002
Labels
First-Good-Issue
First Good Issue - Relatively easy issue for new contributers
Comments
sync-by-unito
bot
added
the
First-Good-Issue
First Good Issue - Relatively easy issue for new contributers
label
Oct 6, 2021
8 tasks
my bad this is realm-js, im using realm-swift |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I try to open a realm with sync enabled using a partition value of "" (empty string), I get the following error: "partitionValue of type 'string' may not be an empty string". It looks like this was added in https://github.com/realm/realm-js/pull/3205. The sync server does not impose this restriction so I don't think this check should be enforced by the client.
The check which leads to the exception is https://github.com/realm/realm-js/blob/master/src/js_sync.hpp#L66-L68
The text was updated successfully, but these errors were encountered: