Skip to main content
Module

x/graphql_tools/deps.ts>LoneAnonymousOperationRule

[DEPRECATED] 🦕 Useful tools to create and manipulate GraphQL schemas. Deno port of `graphql-tools` library
Latest
function LoneAnonymousOperationRule
import { LoneAnonymousOperationRule } from "https://deno.land/x/graphql_tools@0.0.4-deprecated/deps.ts";

Lone anonymous operation

A GraphQL document is only valid if when it contains an anonymous operation (the query short-hand) that it contains only that one operation definition.

Parameters

context: ASTValidationContext