Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/deps.ts>ExecutionResult

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
interface ExecutionResult
import { type ExecutionResult } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/deps.ts";

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

optional
TData = { [key: string]: any; }
optional
TExtensions = { [key: string]: any; }

Properties

optional
errors: ReadonlyArray<GraphQLError>
optional
data: TData | null
optional
extensions: TExtensions