diff --git a/graphql/handler/transport/http_post.go b/graphql/handler/transport/http_post.go index deefeb38d00..35bf510fca0 100644 --- a/graphql/handler/transport/http_post.go +++ b/graphql/handler/transport/http_post.go @@ -48,6 +48,7 @@ func (h POST) Do(w http.ResponseWriter, r *http.Request, exec graphql.GraphExecu writeJson(w, resp) return } + ctx = graphql.WithOperationContext(r.Context(), rc) responses, ctx := exec.DispatchOperation(r.Context(), rc) writeJson(w, responses(ctx)) }