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.
13 lines
408 B
13 lines
408 B
4 months ago
|
import type { ASTVisitor } from '../../language/visitor';
|
||
|
import type { ASTValidationContext } from '../ValidationContext';
|
||
|
/**
|
||
|
* Unique fragment names
|
||
|
*
|
||
|
* A GraphQL document is only valid if all defined fragments have unique names.
|
||
|
*
|
||
|
* See https://spec.graphql.org/draft/#sec-Fragment-Name-Uniqueness
|
||
|
*/
|
||
|
export declare function UniqueFragmentNamesRule(
|
||
|
context: ASTValidationContext,
|
||
|
): ASTVisitor;
|