Skip to content

Commit

Permalink
fix(execute): correct return for context function (#2583)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Jul 30, 2022
1 parent b4338ac commit 60388cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-dolls-taste.md
@@ -0,0 +1,5 @@
---
"@urql/exchange-execute": patch
---

fix return for context function argument
2 changes: 1 addition & 1 deletion exchanges/execute/src/execute.ts
Expand Up @@ -33,7 +33,7 @@ import {
export interface ExecuteExchangeArgs {
schema: GraphQLSchema;
rootValue?: any;
context?: ((op: Operation) => void) | any;
context?: ((op: Operation) => any) | any;
fieldResolver?: GraphQLFieldResolver<any, any>;
typeResolver?: GraphQLTypeResolver<any, any>;
subscribeFieldResolver?: GraphQLFieldResolver<any, any>;
Expand Down

0 comments on commit 60388cb

Please sign in to comment.