interface GraphqlExecutionResult
Since 0.1.0

The execution result as specified by the GraphQL spec.

Properties

optional
data: Record<string, unknown> | null

The data returned by the execution, or null if an error occurred.

optional
errors: GraphqlFormattedError[]

Errors encountered during execution, or undefined if none.

Usage

import { type GraphqlExecutionResult } from "graphql-plugin/src/index.ts";