You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
323 B
12 lines
323 B
import { ASTVisitor } from '../../language/visitor';
|
|
import { ASTValidationContext } from '../ValidationContext';
|
|
|
|
/**
|
|
* Unique operation names
|
|
*
|
|
* A GraphQL document is only valid if all defined operations have unique names.
|
|
*/
|
|
export function UniqueOperationNamesRule(
|
|
context: ASTValidationContext,
|
|
): ASTVisitor;
|