Open vafanassieff opened 9 months ago
Hey there,
I was trying to use trpc-openapi with fastify-session, and I was wondering why I have ERR_HTTP_HEADERS_SENT when sending request to trpc-openapi.
ERR_HTTP_HEADERS_SENT
trpc-openapi
I found that @mgcrea/fastify-session tried to save multiple times the session.
@mgcrea/fastify-session
fastify reply.send call must be awaited to ensure the request is done.
fastify
reply.send
@jlalmes Is there anything I can do help you ?
Hey there,
I was trying to use trpc-openapi with fastify-session, and I was wondering why I have
ERR_HTTP_HEADERS_SENT
when sending request totrpc-openapi
.I found that
@mgcrea/fastify-session
tried to save multiple times the session.fastify
reply.send
call must be awaited to ensure the request is done.