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

Make pagination iterator generic #289

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

JinHuangAtZen
Copy link
Contributor

Hi @nukosuke , I've made a new PR to make the pagination iterator generic, the new pagination iterator now support both CBP and OBP, and will use CBP by default. Please kindly review this PR and if this is the way to go, I will apply the iterator to all other methods that currently only support OBP. I've also attached a spreadsheet that list the existing methods that support OBP and will be converted to CBP.

Changes:

  1. Make pagination iterator generic
  2. Change golang/mock to uber/mock
  3. Applied the iterator to Get Group method and Get Organization Tickets
Screenshot 2023-10-02 at 6 49 26 pm

2. Change golang/mock to uber/mock
3. Applied the iterator to Get Group method and Get Organization Tickets
Copy link
Owner

@nukosuke nukosuke left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thank you!

@nukosuke nukosuke merged commit 762f6d1 into nukosuke:master Oct 4, 2023
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