-
Notifications
You must be signed in to change notification settings - Fork 225
Response Headers #1002
hjanuschka
started this conversation in
General
Response Headers
#1002
we'd like to add custom response headers to the graphql requests. is there any way, or already a sample, on how to add headers to the $response, from within a QueryInterface? |
All reactions
Replies: 1 comment 1 reply
Using the kernel.response event does not answer to your needs?
All reactions
1 reply
i could add headers there. BUT i need different ones depending on queries/resolvers involved.
my resolver implements QueryInterface, AliasedInterface - and on resolve i kind of like to modify the response object.
not sure, where to stick the information, to later on use it in kernel.response - you have any idea?
it would also work if i could do that on Query level instead of resolver level - but same problem.
All reactions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment