P
Prisma8mo ago
jacque

How to manage shared Prisma types in serverless frontend/backend apps

Hi! What are the best practices for using Prisma with a serverless architecture? I've already read docs on deployment, my question is more around development workflow of generating types since i'm using TS. I'm using Prisma Client exclusively on the backend, but I'd like to be able to access the generated types on the front end. Should I use a top-level shared-types directory / package that uses Data Transfer Objects? or is there a better way?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server