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

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

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

The set of allowed directive location values.

type

{ QUERY: "QUERY"; MUTATION: "MUTATION"; SUBSCRIPTION: "SUBSCRIPTION"; FIELD: "FIELD"; FRAGMENT_DEFINITION: "FRAGMENT_DEFINITION"; FRAGMENT_SPREAD: "FRAGMENT_SPREAD"; INLINE_FRAGMENT: "INLINE_FRAGMENT"; VARIABLE_DEFINITION: "VARIABLE_DEFINITION"; SCHEMA: "SCHEMA"; SCALAR: "SCALAR"; OBJECT: "OBJECT"; FIELD_DEFINITION: "FIELD_DEFINITION"; ARGUMENT_DEFINITION: "ARGUMENT_DEFINITION"; INTERFACE: "INTERFACE"; UNION: "UNION"; ENUM: "ENUM"; ENUM_VALUE: "ENUM_VALUE"; INPUT_OBJECT: "INPUT_OBJECT"; INPUT_FIELD_DEFINITION: "INPUT_FIELD_DEFINITION"; }