-
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
Realm Web: allUser object keyed by ids #3346
Conversation
@@ -259,7 +259,7 @@ declare namespace Realm { | |||
* All authenticated users. | |||
*/ | |||
readonly allUsers: Readonly< | |||
User<FunctionsFactoryType, CustomDataType>[] | |||
Record<string, User<FunctionsFactoryType, CustomDataType>> |
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 needs a changelog entry in Realm JS
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.
@steffenagger suggested this one
* Fixed TS declaration for
app.allUsersto
Record<string, User>instead of
Array ([#3346](https://github.com/realm/realm-js/pull/3346))
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.
with a changelog entry
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 when TS declaration change is added to realm-js changelog.
0805107
to
88ddd3b
Compare
What, How & Why?
This closes RJS-869 by aligning with the Realm JS (and other SDKs) implementation of the
allUsers
property on an instance ofApp
.☑️ 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: