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

x/drash/src/services/graphql/deps.ts>GraphQL.ExecutableDefinitionsRule

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

Executable definitions

A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.

Parameters

context: ASTValidationContext