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

x/graphql_deno/lib/validation/index.js

GraphQL-JS ported to Deno
Latest
import * as graphqlDeno from "https://deno.land/x/graphql_deno@v15.0.0/lib/validation/index.js";

Variables

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

Functions

Executable definitions

Fields on correct type

Fragments on composite type

Known argument names

Known directives

Known fragment names

Known type names

Lone anonymous operation

Lone Schema definition

No undefined variables

No unused fragments

No unused variables

Overlapping fields can be merged

Possible fragment spread

Possible type extension

Provided required arguments

Scalar leafs

Subscriptions must only include one field.

Unique argument names

Unique directive names

Unique directive names per location

Unique enum value names

Unique field definition names

Unique fragment names

Unique input field names

Unique operation names

Unique operation types

Unique type names

Unique variable names

Implements the "Validation" section of the spec.

Value literals of correct type

Variables are input types

Variables passed to field arguments conform to type