Skip to content

Conversation

@stuartmorgan-g
Copy link
Contributor

Instead of querying all installations and looking for the one owned by a specific user, use the endpoint that allows requesting the installation for a specific user. This avoids issues with pagination, as well as making the logic for processing the result simpler.

Fixes flutter/flutter#148092

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

Instead of querying all installations and looking for the one owned by a
specific user, use the endpoint that allows requesting the installation
for a specific user. This avoids issues with pagination, as well as
making the logic for processing the result simpler.

Fixes flutter/flutter#148092
Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

This looks fine, but I'll leave approval to Jason

@stuartmorgan-g stuartmorgan-g merged commit 7a8903e into flutter:main May 10, 2024
@stuartmorgan-g stuartmorgan-g deleted the installation-query-fix branch May 10, 2024 19:56
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.

Autosubmit bot is not merging PRs

3 participants