Skip to content

fix: accept nextCursor on offset page envelopes - #80

Merged
caballeto merged 1 commit into
mainfrom
fix/page-envelope-next-cursor
Aug 23, 2026
Merged

fix: accept nextCursor on offset page envelopes#80
caballeto merged 1 commit into
mainfrom
fix/page-envelope-next-cursor

Conversation

@caballeto

Copy link
Copy Markdown
Member

Summary

  • _PageEnvelope used extra="forbid" and had no nextCursor field, so every list() call against current production TableValueResult raises ValidationError.
  • Ignore unknown envelope keys and plumb nextCursor through Page.

Test plan

  • pytest tests/test_pagination.py
  • ruff check/format
  • CI on this PR
  • Re-run publish-verify after the next MINOR

Made with Cursor

_PageEnvelope used extra=forbid and omitted nextCursor, so every list()
call failed against the current TableValueResult payload.
Co-authored-by: Cursor <cursoragent@cursor.com>
@caballeto
caballeto merged commit 584a3dc into mainAug 23, 2026
4 checks passed
@caballeto
caballeto deleted the fix/page-envelope-next-cursor branch August 23, 2026 11:08
Sign up for freeto 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

@caballeto