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.
  • extensions is reserved for adding non-standard properties.

Type parameters

  • TData = ObjMap<unknown>
  • TExtensions = ObjMap<unknown>

Index

Properties

optionaldata

data?: null | TData

optionalerrors

errors?: readonly GraphQLError[]

optionalextensions

extensions?: TExtensions