Skip to content

Commit

Permalink
Add 'subscribe' property to IResolverOptions
Browse files Browse the repository at this point in the history
This fixes issue ardatan#372. It seems like the 'subscribe' property was simply missing from the interface definition.
  • Loading branch information
blazarus authored Aug 3, 2017
1 parent 5cab5df commit c46d8c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface IResolverValidationOptions {

export interface IResolverOptions {
resolve?: GraphQLFieldResolver<any, any>;
subscribe?: GraphQLFieldResolver<any, any>;
__resolveType?: GraphQLTypeResolver<any, any>;
__isTypeOf?: GraphQLIsTypeOfFn<any, any>;
}
Expand Down

0 comments on commit c46d8c4

Please sign in to comment.