blob: 8435bab17aedcc28ab12a8737b95fdf46ea84f3d (
plain)
1
2
3
4
5
6
7
8
9
10
|
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;
|