Skip to content

Commit 95cfde2

Browse files
authored
Allow Graphql Middleware Init funcs to add to Context (#4910)
Signed-off-by: Christian Kruse <ctkruse99@gmail.com> Signed-off-by: Christian Kruse <ctkruse99@gmail.com>
1 parent d16d49e commit 95cfde2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphql/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (service *Service) Do(ctx context.Context, p QueryParams) *Result {
207207
Schema: schema,
208208
AST: AST,
209209
Args: p.Variables,
210-
Context: ctx,
210+
Context: params.Context,
211211
})
212212
}
213213

0 commit comments

Comments
 (0)