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

Pagination support #10

Merged
merged 12 commits into from
Feb 29, 2024
Merged

Pagination support #10

merged 12 commits into from
Feb 29, 2024

Conversation

pysco68
Copy link
Contributor

@pysco68 pysco68 commented Feb 28, 2024

As discussed recently we need pagination support on a couple of GH APIs which have been added now.

APIs that have first level API pagination (like branches / issues etc) are doing the link following automatically.

Small bugfix: it turns out that the issue.body property is actually nullable (was causing crashes in the new test), so the property was changed to be an std::optional.

@pysco68 pysco68 self-assigned this Feb 28, 2024
… of 502 it was some time ago) + added a bit more logging to branches query for failure analysis
…ected property rewriting as non-premium github orgs (like tipibuild/) cannot have protected branches (anymore?)
…the paginating calls instead of copying into temporary
Copy link
Member

@daminetreg daminetreg left a comment

Choose a reason for hiding this comment

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

Thanks for the nice tests additions and the now complete pagination support 👍

@daminetreg daminetreg merged commit 6dfb615 into master Feb 29, 2024
1 check passed
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