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

Fixed count limit for response paging in two situations #1118

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

stempler
Copy link
Contributor

  1. Fix behavior when count provided for response paging is higher than the maximum features limit that is configured.
    Previously when using a count that is higher than the maximum features that can be retrieved, the request URIs generated for the next requests would have gaps, as the start index would still be increased by the given count and the count would be retained as well.

  2. Limit the count for the previous paged response in case the difference to the current start index is less than the original count.

Previously when using a count that is higher than the maximum features
that can be retrieved, the request URIs generated for the next requests
would have gaps, as the start index would still be increased by the
given count and the count would be retained as well.
Limit the count for the previous paged response in case the difference
to the current start index is less than the original count.
@tfr42 tfr42 added the bug error issue and bug (fix) label Jan 28, 2021
@tfr42 tfr42 added the CI failing CI build job fails label Feb 4, 2022
@tfr42 tfr42 added the needs rebase PR is not up to date and needs rebase label May 16, 2022
@tfr42 tfr42 changed the title fix count limit for response paging in two situations Fixed count limit for response paging in two situations Sep 21, 2022
@tfr42 tfr42 added contributions welcome asking for contribution (time and money sponsor) contributor review requires review by contributor labels Nov 30, 2023
@tfr42
Copy link
Member

tfr42 commented Nov 30, 2023

Thank you for your contribution. Unfortunately, it cannot be merged automatically. It cannot be considered for inclusion, before this has been fixed. Please rebase it against the target main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix) CI failing CI build job fails contributions welcome asking for contribution (time and money sponsor) contributor review requires review by contributor needs rebase PR is not up to date and needs rebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants