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
I tried using this example to create a caller for my app which had both drizzle and clerk in the context, but it was impossible to make authed calls without the req/NextRequest object, so I tried replacing it with createTRPCProxyClient and it worked just fine like so:
I tried using this example to create a caller for my app which had both drizzle and clerk in the context, but it was impossible to make authed calls without the req/NextRequest object, so I tried replacing it with
createTRPCProxyClient
and it worked just fine like so:I also had to add the req to the handler in the api route file like so:
With my
createContext
looking like thisStill this example is incredible and I'm very grateful that you came up with it, incredible work!!
The text was updated successfully, but these errors were encountered: