Skip to content

Conversation

@jeremystretch
Copy link
Member

@jeremystretch jeremystretch commented Jan 29, 2026

Closes: #21110

  • Monkey-patch a custom OffsetPaginationInput class to support a start pagination parameter
  • Monkey-patch a customized apply_pagination() function to replace the stock method on StrawberryDjangoField
  • Add tests for both offset- and cursor-based pagination
  • Update the pagination docs for GraphQL
    • Also tidy up test_graphql_filter_objects()

@jeremystretch jeremystretch marked this pull request as ready for review January 29, 2026 16:50
@jeremystretch jeremystretch requested review from a team and arthanson and removed request for a team January 29, 2026 16:54
@arthanson arthanson merged commit 5c6fc2f into main Jan 30, 2026
10 checks passed
@jeremystretch jeremystretch deleted the 21110-graphql-cursor-pagination branch January 30, 2026 19:50
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.

Support cursor-based pagination in GraphQL API

3 participants