From c46d8c443c6b1bec13f97d2ad5b833e41849a0a5 Mon Sep 17 00:00:00 2001 From: Brett Lazarus Date: Wed, 2 Aug 2017 21:36:08 -0700 Subject: [PATCH] Add 'subscribe' property to IResolverOptions This fixes issue #372. It seems like the 'subscribe' property was simply missing from the interface definition. --- src/Interfaces.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Interfaces.ts b/src/Interfaces.ts index 9a329238e01..90325b3b9ac 100644 --- a/src/Interfaces.ts +++ b/src/Interfaces.ts @@ -20,6 +20,7 @@ export interface IResolverValidationOptions { export interface IResolverOptions { resolve?: GraphQLFieldResolver; + subscribe?: GraphQLFieldResolver; __resolveType?: GraphQLTypeResolver; __isTypeOf?: GraphQLIsTypeOfFn; }