blob: d56c4fdd1dffc334146dbe13a85aa83745a6b8f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { ASTVisitor } from '../../language/visitor';
import { ASTValidationContext } from '../ValidationContext';
/**
* Subscriptions must only include one field.
*
* A GraphQL subscription is valid only if it contains a single root field.
*/
export function SingleFieldSubscriptionsRule(
context: ASTValidationContext,
): ASTVisitor;
|