graphql
Version:
A Query Language and Runtime which can target any service.
21 lines (20 loc) • 574 B
TypeScript
import type { ASTVisitor } from '../../language/visitor';
import type {
SDLValidationContext,
ValidationContext,
} from '../ValidationContext';
/**
* Provided required arguments
*
* A field or directive is only valid if all required (non-null without a
* default value) field arguments have been provided.
*/
export declare function ProvidedRequiredArgumentsRule(
context: ValidationContext,
): ASTVisitor;
/**
* @internal
*/
export declare function ProvidedRequiredArgumentsOnDirectivesRule(
context: ValidationContext | SDLValidationContext,
): ASTVisitor;