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

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

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

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