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.
11 lines
381 B
11 lines
381 B
import { ASTVisitor } from '../../language/visitor';
|
|
import { ValidationContext } from '../ValidationContext';
|
|
|
|
/**
|
|
* No unused fragments
|
|
*
|
|
* A GraphQL document is only valid if all fragment definitions are spread
|
|
* within operations, or spread within other fragments spread within operations.
|
|
*/
|
|
export function NoUnusedFragmentsRule(context: ValidationContext): ASTVisitor;
|