mirror of
https://github.com/rjNemo/federation
synced 2026-06-09 03:36:38 +00:00
17 lines
480 B
TypeScript
17 lines
480 B
TypeScript
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
|
|
import { ASTVisitor } from '../../language/visitor';
|
|
|
|
/**
|
|
* Known argument names
|
|
*
|
|
* A GraphQL field is only valid if all supplied arguments are defined by
|
|
* that field.
|
|
*/
|
|
export function KnownArgumentNamesRule(context: ValidationContext): ASTVisitor;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
export function KnownArgumentNamesOnDirectivesRule(
|
|
context: ValidationContext | SDLValidationContext,
|
|
): ASTVisitor;
|