Skip to content
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

Rename: listUsers --> listAllUsers (within daml-script) #12734

Merged
merged 3 commits into from
Feb 3, 2022

Conversation

nickchapman-da
Copy link
Contributor

For issue #12663

Copy link
Contributor

@cocreature cocreature left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -867,15 +867,15 @@ getUser' userId participant = checkUserNotFound userId $ lift $ Free $ GetUser G
userId

-- | List all users.
listUsers : Script [User]
listUsers = listUsers' None
listAllUsers : Script [User]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense to extend the docs to mention that we concatenate all results from pagination. Otherwise the name might sound a bit confusing to people.

@nickchapman-da nickchapman-da force-pushed the nick-rename-to-list-all-users branch from 06db5a9 to ffc0a0f Compare February 3, 2022 11:53
@nickchapman-da nickchapman-da merged commit cd16eb7 into main Feb 3, 2022
@nickchapman-da nickchapman-da deleted the nick-rename-to-list-all-users branch February 3, 2022 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants