Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(pagination): [nan-1958] per page offset pagination #2890

Conversation

khaliqgant
Copy link
Member

@khaliqgant khaliqgant commented Oct 24, 2024

Describe your changes

Offset right now only adds the response data length but many APIs just need the page to be incremented by one. As seen in NangoHQ/integration-templates#72

Issue ticket number and link

NAN-1958

Checklist before requesting a review (skip if just adding/editing APIs & templates)

  • I added tests, otherwise the reason is:
  • I added observability, otherwise the reason is:
  • I added analytics, otherwise the reason is:

Copy link

linear bot commented Oct 24, 2024

@khaliqgant khaliqgant changed the title fix(pagination) [nan-1958] per page offset pagination fix(pagination): [nan-1958] per page offset pagination Oct 24, 2024
@khaliqgant khaliqgant merged commit 9e4fe49 into master Oct 25, 2024
22 of 23 checks passed
@khaliqgant khaliqgant deleted the khaliq/nan-1958-pagination-doesnt-support-per-page-pagination branch October 25, 2024 03:21
khaliqgant added a commit to NangoHQ/integration-templates that referenced this pull request Oct 25, 2024
## Describe your changes
Add in datadata user operations

Blocked by NangoHQ/nango#2890

## Issue ticket number and link

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)
- [ ] I added tests, otherwise the reason is:
- [ ] External API requests have `retries`
- [ ] Pagination is used where appropriate
- [ ] The built in `nango.paginate` call is used instead of a `while
(true)` loop
- [ ] Third party requests are NOT parallelized (this can cause issues
with rate limits)
- [ ] If a sync requires metadata the `nango.yaml` has `auto_start:
false`
- [ ] If the sync is a `full` sync then `track_deletes: true` is set
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants