You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@szmarczak I'm interested in doing this. I suppose we'd first have to agree with the metadata of the pagination would look like. I think the schema suggested by @AlbertKogan is a fine start. Although support for something like pagination tokens could be provided as well.
What problem are you trying to solve?
Paginating some GitHub API endpoints with extra logic (logging etc) when reaching internal limit of fetched pages.
Describe the feature
Would be nice to have more control on pagination logic. For example, parse-link-header provides well structured format of parsed Link header.
Raw Link header:
Parsed result:
If this data will be accessible, for example from pagination.shouldContinue, it will help to add custom logic based on next or previous pages.
Example
Checklist
The text was updated successfully, but these errors were encountered: