Latest
function KnownDirectivesRule
import { KnownDirectivesRule } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/validation/index.d.ts";

Known directives

A GraphQL document is only valid if all @directives are known by the schema and legally positioned.

Parameters

context: ValidationContext | SDLValidationContext

Returns

ASTVisitor