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

Added pagination 📑 for listReviews 👥 endpoint #104

Merged
merged 4 commits into from
Nov 29, 2023
Merged

Conversation

Bullrich
Copy link
Contributor

Implemented the pagination method when fetching reviews, as the default endpoint has a hard limit of 30 results. By adding pagination we can go over the limit of 30.

Fixes #102

@Bullrich Bullrich self-assigned this Nov 29, 2023
@Bullrich Bullrich requested a review from a team as a code owner November 29, 2023 10:49
@Bullrich Bullrich enabled auto-merge (squash) November 29, 2023 11:47
It seems there are more fellows so the test takes more time.

I also moved the timeout to the fellows tests so it doesn't extend the timeout in other tests that work properly with the shorter one
@Bullrich Bullrich merged commit f4e4c61 into main Nov 29, 2023
11 checks passed
@Bullrich Bullrich deleted the review-pagination branch November 29, 2023 11:54
@Bullrich Bullrich mentioned this pull request Nov 29, 2023
Bullrich added a commit that referenced this pull request Nov 29, 2023
This new version includes the fix for PRs with too many reviews and a
more detailed rule explanation.

Must be merged **after** #104 and #105 have been merged.
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.

Add pagination when fetching reviews
2 participants