Skip to Content

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 Product object 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 before and after arguments to navigate through the connection.

Example

query { products(first: 10) { edges { node { id name description } cursor } pageInfo { hasNextPage hasPreviousPage } } }