-
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
Exposing all data of the profile.data on User#profile, renamed userId… #3481
Conversation
… on indentities elements and exposed providerType on a User
return { | ||
id: identity.id, | ||
providerId: identity["provider_id"], | ||
// providerId: identity["provider_id"], |
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.
Should the line be removed?
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.
Probably 😊 I might have wanted to leave it in as a signal that this is infact also returned from the API, but it should probably be removed.
docs/sync.js
Outdated
*/ | ||
|
||
/** | ||
* Describes an error when an incompatible synced Realm is opened. The old version of the Realm can be accessed in readonly mode using the configuration() member |
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.
This is the description of IncompatibleSyncedRealmError
. We need a correct description of UserIdentity
.
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.
Thanks!
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.
LGTM
What, How & Why?
Merging this PR will:
profile.data
onUser#profile
(Realm Web only - still missing on Realm JS)userId
toid
onUser#identities
elements (Realm JS and types)providerType
on aUser
(Realm Web).This closes #3268 and a few other untracked issues.
☑️ ToDos
Compatibility
label is updated or copied from previous entryBreaking
label has been applied or is not necessaryIf this PR adds or changes public API's: