UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

13 lines (12 loc) 421 B
import type { ASTVisitor } from '../../language/visitor'; import type { ValidationContext } from '../ValidationContext'; /** * Variables in allowed position * * Variable usages must be compatible with the arguments they are passed to. * * See https://spec.graphql.org/draft/#sec-All-Variable-Usages-are-Allowed */ export declare function VariablesInAllowedPositionRule( context: ValidationContext, ): ASTVisitor;