blob: 1ac19ef4b7dd84c44ed14b71a6e8afc6d4197191 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* 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.
*/
export function LoneAnonymousOperationRule(
context: ASTValidationContext,
): ASTVisitor;
|