-
Notifications
You must be signed in to change notification settings - Fork 167
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
Add user lookup API #1486
Add user lookup API #1486
Conversation
9f8e88c
to
c6edd25
Compare
c6edd25
to
a84bf1a
Compare
/// e.g. on Facebook and want to find the associated Realm user's Id. | ||
/// </summary> | ||
/// <param name="provider">The provider that the user has signed up with.</param> | ||
/// <param name="providerId">The id of the user in the provider's system.</param> |
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 hate this name. Is it publicly exposed in the other SDK's?
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.
In js it's provider, username
, in Java, it's provider, providerId
.
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'm struggling to find a better name, but I'm definitely open for suggestions!
Did y'all take a look at what the Java and JavaScript versions of these APIs are like? |
I did, why? Javascript seems to be returning the json as is from the server, while Java is parsing that into a |
b9fcdfe
to
7f0fb3d
Compare
Realm/Realm.Sync/Dtos/UserInfo.cs
Outdated
@@ -21,7 +21,7 @@ namespace Realms.Sync | |||
/// <summary> | |||
/// The response of a user lookup operation. |
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.
The comment could use updating now that the class is renamed.
e6dc446
to
349fe69
Compare
CI failures will be resolved by #1489. |
Description
Fixes #1457
TODO