graphql-go / graphql-go/graphql

http.ResponseWriter

Open
#554 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

How I get the http.ResponseWriter in Resolve?

```
Resolve: func(p graphql.ResolveParams) (interface{}, error) {

r := p.Context.Value("httprequest").(*http.Request)

p.Context.Value("?????").(http.ResponseWriter)?

}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.