ProductEdge
An edge in a connection to a Product.
Connection Structure
{
node: Product
cursor: String
}Edge Type
The ProductEdge type represents a single edge within a product connection. Each edge contains:
- node: The
Productobject at this position in the connection. This field is optional and contains the actual product data. - cursor: An opaque string cursor for use in pagination. This field is optional and can be used with the
beforeandafterarguments to navigate through the connection.
Example
query {
products(first: 10) {
edges {
node {
id
name
description
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}