Skip to main content

PaginationTypeOptions

Configuration options for a specific pagination type

Properties

PropertyTypeDefault valueDescription

connectionFields?

string[]

undefined

Additional fields to add to the connection type

Example

connectionFields: ["totalCount: Int!"];

cursorType?

string

"ID!";

The GraphQL type for cursors

edgeFields?

string[]

undefined

Additional fields to add to the edge type

Example

edgeFields: ["hasPhotos: Boolean!"];

nodeType?

string

undefined

The GraphQL type for nodes (e.g., "User!")