You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
they reach the backend of graphql when setting context. However not within a subscription. I can see it in my network tab, that the event stream is missing the slug header.
Looking at SSELink, the header infos are not forwarded properly here and in the authorization line below.
What's not working?
Hi,
I am using custom headers in my graph ql client config.
they reach the backend of graphql when setting context. However not within a subscription. I can see it in my network tab, that the event stream is missing the slug header.
Looking at SSELink, the header infos are not forwarded properly here and in the authorization line below.
redwood/packages/web/src/apollo/sseLink.ts
Line 108 in 05dca60
How do we reproduce the bug?
Use the countdown redwood example, add httpLinkConfig as shown above. Check network tab, if headers of subscription are included.
What's your environment? (If it applies)
Are you interested in working on this?
I tried a patched version and it seems to work. I could contribute the necessary changes. See the commented spots
The text was updated successfully, but these errors were encountered: