Skip to content

Commit

Permalink
insert operation context
Browse files Browse the repository at this point in the history
  • Loading branch information
gsgalloway authored Apr 13, 2020
1 parent a1a0261 commit e7798ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphql/handler/transport/http_post.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit e7798ff

Please sign in to comment.