graphql-go / graphql-go/graphql

Setting header values (Cache)

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

Description

I am trying to find a way to set header value (Cache control)
How can it be done? I've noticed that even if I wrote own middleware, it's not possible(it does not have any effect) to set header after grapql invoke writeHeader in handler.
I am passing my header values in context, but I cant not use it

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.