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

x/drash/src/services/graphql/graphql.ts>GraphQL.specifiedRules

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

This set includes all validation rules defined by the GraphQL spec.

The order of the rules in this list has been adjusted to lead to the most clear output when encountering multiple validation errors.

type

ReadonlyArray<ValidationRule>