Skip to main content
Latest
function KnownTypeNamesRule
import { KnownTypeNamesRule } from "https://deno.land/x/kilatgraphql@16.6.0-1/mod.ts";

Known type names

A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema.

See https://spec.graphql.org/draft/#sec-Fragment-Spread-Type-Existence

Parameters

context: ValidationContext | SDLValidationContext