19724 Add pagination metadata to GraphQL queries #1066

Closed
opened 2026-04-05 20:11:28 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @arthanson on 10/14/2025

Fixes: #19724

Adds new OffsetPaginated Generic to the v2 of the GraphQL API. For information on OffsetPaginated Generic see: https://strawberry.rocks/docs/django/guide/pagination. This returns metadata of the record counts and affects both the return of GraphQL queries as well as submission for paginated results. This PR updates the documentation on the new formats and puts in tests for the new v2 version of the queries.

*Originally created by @arthanson on 10/14/2025* ### Fixes: #19724 Adds new OffsetPaginated Generic to the v2 of the GraphQL API. For information on OffsetPaginated Generic see: https://strawberry.rocks/docs/django/guide/pagination. This returns metadata of the record counts and affects both the return of GraphQL queries as well as submission for paginated results. This PR updates the documentation on the new formats and puts in tests for the new v2 version of the queries.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1066