Hey everyone!
For those who want type-safety across the whole stack, without the need to manually generate types, you should check
tRPC. It works with React, Next.js, etc.
To make things simpler for Prisma users, I built a generator that handles generating fully implemented routers with all their zod schemas for you.
you can check out the generator here:
https://github.com/omar-dulaimi/prisma-trpc-generator
This is something really cool, and I'm proud I managed to build it!