How to get type inference from Prisma with Zod

my question is how to type from prisma User model using zod-prisma package. I was trying to post the full question here but because it is too long and I do not have enough characters I will put a link so you can read all the details. https://stackoverflow.com/questions/75680609/type-inference-from-prisma-with-zod
Stack Overflow
Type inference from Prisma with Zod
Here is my prisma model for User model User { id String @id @default(cuid()) name String? email String? @unique emailVerified DateTime? image ...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server