Skip to main content
Deno 2 is finally here 🎉️
Learn more
function LoneSchemaDefinitionRule
import { LoneSchemaDefinitionRule } from "https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/LoneSchemaDefinitionRule.d.ts";

Lone Schema definition

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