Troubleshooting createTRPCOptionsProxy with Server Components and Context Passing
How does
createTRPCOptionsProxy
work in server components?
I'm creating a context that passes the hono
context to createTRPCContext
in order to obtain the HTTP headers
, since I need to forward those headers
to the better-auth API
to get the session
I use @hono/trpc-server
which created by the hono
so I can use hono
as adapter of trpc
.
Is there any solution to this issue so that I can pass my createTRPCContext
properly?


0 Replies