Skip to content

Add paginated variants for list endpoints using RequestKit 3.4.0 load Paginated#206

Merged
pietbrauer merged 1 commit into
mainfrom
feature/requestkit-3.4.0-pagination
May 14, 2026
Merged

Add paginated variants for list endpoints using RequestKit 3.4.0 load Paginated#206
pietbrauer merged 1 commit into
mainfrom
feature/requestkit-3.4.0-pagination

Conversation

@pietbrauer

Copy link
Copy Markdown
Member

Adds *Paginated methods (callback + async) for: myIssues, issues, pullRequests, repositories, myNotifications, listRepositoryNotifications, listReleases, labels. Each returns PaginatedResponse with PageInfo parsed from RFC 5988 Link header.

Updates OctoKitURLTestSession to accept responseHeaders so tests can inject Link headers and assert pageInfo.hasNextPage. Adds README pagination section with single-page and fetch-all-pages examples.

…Paginated

Adds *Paginated methods (callback + async) for: myIssues, issues, pullRequests,
repositories, myNotifications, listRepositoryNotifications, listReleases, labels.
Each returns PaginatedResponse<T> with PageInfo parsed from RFC 5988 Link header.

Updates OctoKitURLTestSession to accept responseHeaders so tests can inject
Link headers and assert pageInfo.hasNextPage. Adds README pagination section
with single-page and fetch-all-pages examples.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pietbrauer

Copy link
Copy Markdown
Member Author

Fixes #188

@pietbrauer pietbrauer merged commit 134958b into main May 14, 2026
4 checks passed
@pietbrauer pietbrauer deleted the feature/requestkit-3.4.0-pagination branch May 14, 2026 14:58
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.

1 participant