Skip to Content

ArticleEdge

An edge in a connection to an Article.

Connection Structure

{ node: Article cursor: String! }

Edge Type

The ArticleEdge type represents a single edge within an article connection. Each edge contains:

  • node: The Article object at this edge. This field is optional and contains the actual article data being paginated.
  • cursor: A required opaque string used to identify the position of this edge in the connection. This cursor value can be used in subsequent queries for pagination using the before or after arguments.

Example

query { articles(first: 10) { edges { node { id title body } cursor } pageInfo { hasNextPage endCursor } } }