Skip to content

Commit ba1ab70

Browse files
blazarusSashko Stubailo
authored and
Sashko Stubailo
committed
Add 'subscribe' property to IResolverOptions (#374)
This fixes issue #372. It seems like the 'subscribe' property was simply missing from the interface definition.
1 parent c2c34e1 commit ba1ab70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export interface IResolverValidationOptions {
2020

2121
export interface IResolverOptions {
2222
resolve?: GraphQLFieldResolver<any, any>;
23+
subscribe?: GraphQLFieldResolver<any, any>;
2324
__resolveType?: GraphQLTypeResolver<any, any>;
2425
__isTypeOf?: GraphQLIsTypeOfFn<any, any>;
2526
}

0 commit comments

Comments
 (0)