Skip to content

How to pass through headers? #6567

Answered by ardatan
tichopad asked this question in Q&A
Oct 14, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Sorry my mistake. It should be "context". In the introspection request to fetch the schema from the service, "context" is undefined because it is not done by the user request but the gateway to fetch the schema via "schemaFromExecutor". If you want to have context there as well, you can pass a context to the function, too.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tichopad
Comment options

@ardatan
Comment options

Answer selected by tichopad
@tichopad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants