Skip to content

Pagination metadata for graphql #19724

Open
@patrickfnielsen

Description

@patrickfnielsen

NetBox version

v4.3.2

Feature type

Change to existing functionality

Proposed functionality

NetBox v4.3.0 introduced pagination in GraphQL.
I would like to propose that we include support for a "metadata" object containing record counts, like there is in the rest api.

It could look like this:

    page_metdata {
      count
    }

Use case

Allows getting the total number of records for pagination to display total number of records to users / Provide accurate "Showing X of Y results".

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: lowRequires minimal effort to implementstatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationtype: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions