-
Hi there, Hoping someone can understand this. I'm using an express server w/ express-session & TRPC. When i set Anyone understand why? Cookie sent back:
Cookie not sent:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Added note; when setting the session inside the procedure, I'm seeing it being made inside my session store, so it's purely the mutation not sending back the headers... |
Beta Was this translation helpful? Give feedback.
-
Issue fixed, it's due to using @KATT I think it should be documented that if you require sending cookies etc via mutations to not use |
Beta Was this translation helpful? Give feedback.
Issue fixed, it's due to using
unstable_httpBatchStreamLink
which streams headers at the start of the request & changing it tohttpBatchLink
in my client, which will mean it sends them in the end as far as i'm aware.@KATT I think it should be documented that if you require sending cookies etc via mutations to not use
unstable_httpBatchStreamLink
as things such as T3 stack useunstable_httpBatchStreamLink
by default and I'm sure has caused some issues for others...