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.
12 lines
342 B
12 lines
342 B
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;
|