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
527 B
13 lines
527 B
import type { ASTVisitor } from '../../language/visitor'; |
|
import type { ASTValidationContext } from '../ValidationContext'; |
|
/** |
|
* No fragment cycles |
|
* |
|
* The graph of fragment spreads must not form any cycles including spreading itself. |
|
* Otherwise an operation could infinitely spread or infinitely execute on cycles in the underlying data. |
|
* |
|
* See https://spec.graphql.org/draft/#sec-Fragment-spreads-must-not-form-cycles |
|
*/ |
|
export declare function NoFragmentCyclesRule( |
|
context: ASTValidationContext, |
|
): ASTVisitor;
|
|
|