shandy
shandy
Explore posts from servers
DTDrizzle Team
Created by shandy on 11/5/2024 in #help
Using drizzle postgres with trpc in Next.js app
Ah! I had export const runtime = "edge" instead of "nodejs" in my /api/trpc/[trpc]/route.ts. Hope this helps anyone that runs into this issue in the future 🙂
4 replies
DTDrizzle Team
Created by shandy on 11/5/2024 in #help
Using drizzle postgres with trpc in Next.js app
I agree, although I've exhaustively run through the trail of imports and don't see a clear reason 🤔 Is there a good example repo that combines trpc and drizzle in a next.js app?
4 replies