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

Update search pagination to use page param instead of next_page. #1364

Merged
merged 3 commits into from
Mar 11, 2022

Conversation

dcr-stripe
Copy link
Contributor

@dcr-stripe dcr-stripe commented Mar 4, 2022

r? @richardm-stripe

Summary

Updates the search pagination behavior to account for two changes:

  1. The next_page request parameter has been renamed to page.
  2. The next_page response property is always provided, but will return null when there is no page. Previously it would not be provided in the return object at all.

This is not considered a breaking change as no currently released API uses this object and is thus purely an infrastructural change.

@dcr-stripe dcr-stripe changed the title Update search pagination to use page property instead of next_page. Update search pagination to use page param instead of next_page. Mar 4, 2022
dcr-stripe and others added 2 commits March 4, 2022 17:40
Co-authored-by: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com>
Copy link
Contributor Author

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

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

PTAL @richardm-stripe now that the testing is fixed.

@dcr-stripe dcr-stripe merged commit d651d87 into master Mar 11, 2022
@dcr-stripe dcr-stripe deleted the dcr-search-page branch March 11, 2022 15:50
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