Latest
function SingleFieldSubscriptionsRule
import { SingleFieldSubscriptionsRule } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/index.d.ts";

Subscriptions must only include one field.

A GraphQL subscription is valid only if it contains a single root field.

Parameters

context: ASTValidationContext