-
Notifications
You must be signed in to change notification settings - Fork 55
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 pagination support for GetAll style endpoints #429
Conversation
e578aa8
to
c42f302
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexcreasy thanks for the PR. The code looks OK, but could you please add some samples in our readme of curl calls with pagination for those endpoints?
@alexcreasy you'll need to rebase so you can run the linter locally for the BFF |
Signed-off-by: Alex Creasy <[email protected]>
``` | ||
|
||
### Pagination |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the definitions here off the MR OpenAPI spec.
@ederign when you get a chance could you re-review and merge if you're happy? thanks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and everything works as expected. Nice work!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ederign, Griffin-Sullivan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Description
Implements pagination for the following endpoints:
How Has This Been Tested?
Test Env Setup
Test Procedure
nextPageToken
from the previous step)Merge criteria:
DCO
check)If you have UI changes