@graphql-yoga/plugin-defer-stream
Version:
Defer/Stream plugin for GraphQL Yoga.
8 lines (7 loc) • 302 B
text/typescript
import { ASTVisitor, ValidationContext } from 'graphql';
/**
* Stream directive on list field
*
* A GraphQL document is only valid if defer and stream directives' label argument is static and unique.
*/
export declare function DeferStreamDirectiveLabelRule(context: ValidationContext): ASTVisitor;