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
Articleobject 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
beforeorafterarguments.
Example
query {
articles(first: 10) {
edges {
node {
id
title
body
}
cursor
}
pageInfo {
hasNextPage
endCursor
}
}
}Related Types
- Article
- String