Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KnownTypeNamesRule

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

function KnownTypeNamesRule(context: ValidationContext | SDLValidationContext): ASTVisitor;
§
KnownTypeNamesRule(context: ValidationContext | SDLValidationContext): ASTVisitor
[src]

§Parameters

§
context: ValidationContext | SDLValidationContext
[src]