INTERFACE

Connection

Relay-compatible Connection interface. Please see: GraphQL Cursor Connections Specification

Very often the implementing type will extend this to include a type-specific field providing direct access to a list of elements of the implementing node type.

link GraphQL Schema definition

  • interface Connection {
  • # Count of elements in the current page
  • count: Int!
  • # Edges to nodes available through the connection
  • edges: [ConnectionEdge!]
  • # Paging support
  • pageInfo: PageInfo!
  • # Optional total elements count across all pages when available
  • totalCount: Int
  • }

link Require by