Skip to content

fix: paginator callbacks receive the Response object (#86)#102

Merged
MikeWooster merged 1 commit into
masterfrom
fix/paginator-response-access
Jun 7, 2026
Merged

fix: paginator callbacks receive the Response object (#86)#102
MikeWooster merged 1 commit into
masterfrom
fix/paginator-response-access

Conversation

@MikeWooster

Copy link
Copy Markdown
Owner
  • Pagination callbacks previously got the decoded body, so they couldn't read headers or Link relations to find the next page.
  • They now receive the Response (use get_json() for the body, get_original() for headers/links). Breaking for existing callbacks; documented in the 2.0.0 changelog

@MikeWooster MikeWooster merged commit 22c97a5 into master Jun 7, 2026
7 checks passed
@MikeWooster MikeWooster deleted the fix/paginator-response-access branch June 7, 2026 19:03
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