Kylar
Explore posts from serversDTDrizzle Team
•Created by Kylar on 10/29/2024 in #help
Error introspecting a MySQL database
Hey guys!! I'm getting the following error when using npx drizzle-kit pull against a MySQL database:
These are the versions I'm using for the relevant packages:
Anyone have any idea how to go about it?
2 replies
How can i createCaller from a NextJs App Router if my server uses express tRPC adapter?
I'm using the express adapter for the server side of tRPC, and the client is a NextJS AppRouter app.
I was getting to setting up the createCaller helper to be able to call from RSC, but createCaller needs the context, which for the express adapter is the request and response objects.
The issue here is that I don't actually have the request/response objects in NextJS App router by design (https://nextjs.org/docs/app#how-can-i-access-the-request-object-in-a-layout), which leaves me unsure about how to move forward
Is tRPC unusable with this setup? Do I need a proxy adapter or is there some piece that I am missing?
8 replies