Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Lone Schema definition

A GraphQL document is only valid if it contains only one schema definition.

Parameters

context: SDLValidationContext