-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass WebSocket connectionParams
to downstream also in connectionParams
#4305
Comments
You probably already know that but I am adding this just to clarify the issue; GraphQL Mesh's runtime has nothing to do with HTTP actually, because the runtime only generates a schema (and an executor), then that schema/executor is used as a standalone artifact, an SDK or by an HTTP server(Yoga, Apollo etc). Then how can we pass connectionParams:
x-foo: `some-static-prefix-{context.connectionParams['my-foo']}` # String interpolation |
Continuation task of #4040.
Currently the WebSocket
connectionParams
are spread to request headers and passed through theextensions
field of GraphQL request parameters. This is a tad confusing, see #4040 (comment).Instead, it would be great if we could make the
connectionParams
be inconnectionParams
downstream.The text was updated successfully, but these errors were encountered: