ExecutionResult
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.
interface ExecutionResult <TData = ObjMap<unknown>, TExtensions = ObjMap<unknown>> {
data?: TData | null;
errors?: ReadonlyArray<GraphQLError>;
extensions?: TExtensions;
}