Skip to main content

ExecutionResult <TData, TExtensions>

The result of GraphQL execution.

  • errors is included when any errors occurred as a non-empty array.
  • data is the result of a successful execution of the query.
  • hasNext is true if a future payload is expected.
  • extensions is reserved for adding non-standard properties.
  • incremental is a list of the results from defer/stream directives.

Hierarchy

Index

Properties

optionaldata

data?: null | TData

optionalerrors

errors?: readonly GraphQLError[]

optionalextensions

extensions?: TExtensions