graphql
Version:
A Query Language and Runtime which can target any service.
11 lines (9 loc) • 343 B
TypeScript
import { ASTVisitor } from '../../language/visitor';
import { ValidationContext } from '../ValidationContext';
/**
* Value literals of correct type
*
* A GraphQL document is only valid if all value literals are of the type
* expected at their position.
*/
export function ValuesOfCorrectTypeRule(context: ValidationContext): ASTVisitor;