Types

Link copied to clipboard
class Connection<T : Node>(val nodes: List<T>, val pageInfo: PageInfo, val totalCount: Int?, val order: Order<T>)

Connection used as ObjectType in the GraphQL API Represents the many side of a relation and supports filtering, ordering and pagination

Link copied to clipboard
class Edge<T : Node>(val node: T, val order: Order<T>)

Edge returned in the GraphQL API Consists of a Node and a Cursor The cursor is only valid in a specific connection context. Cursors can only be used, if the ordering of nodes is not changed. Cursors should not be used for long term storage.

Link copied to clipboard
class PageInfo(val nodeQueryOptions: NodeQueryOptions, val allNodes: List<Node>, val nodes: List<Node>, val objectMapper: ObjectMapper)

Page info used in GraphQL connection to provide general pagination information