Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Known type names

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

Parameters

context: ValidationContext | SDLValidationContext