aetherplex
aetherplex14mo ago

Does tRPC work with Clerk and Vercel Edge functions?

So the answer is yes, at least locally, but I when I deploy to Vercel I get nothing. Trying to work out whether this is happening at the tRPC, Clerk, Vercel, or Planetscale integration level. Anyone experiences something similar?
Solution:
So the answer is yes, at least locally, but I when I deploy to Vercel I get nothing. Trying to work out whether this is happening at the tRPC, Clerk, Vercel, or Planetscale integration level. Anyone experiences something similar?
Jump to solution
1 Reply
aetherplex
aetherplex14mo ago
For anyone wondering, looks like this is a known issue with Prisma and Planetscale: https://github.com/prisma/prisma/issues/15265
GitHub
Add support for PlanetScale serverless driver · Issue #15265 · pris...
Problem PlanetScale offers a serverless driver for environments like Cloudflare Workers and Deno Deploy, but Prisma does not have support for it. Suggested solution Adding a PlanetScale serverless ...