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

Implements offset-based pagination termination checks #34

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

stevapple
Copy link
Member

@stevapple stevapple commented Oct 4, 2023

This PR implements additional pagination termination checks based on offset, total count and item count. This will help to eliminate unnecessary requests at the end, which may throw for some services.

Companioned by teco-project/teco-code-generators#47 and closes #35.

@stevapple stevapple changed the title Implements offset-based pagination termination Implements offset-based pagination termination checks Oct 4, 2023
@stevapple stevapple enabled auto-merge (squash) October 4, 2023 17:12
@stevapple stevapple merged commit ad74e1d into main Oct 4, 2023
15 checks passed
@stevapple stevapple deleted the pagination-improve branch October 4, 2023 18:20
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.

Additional empty request at the end of pagination throws ResourceNotFound
1 participant