Hey everyone! For those who want type-safety acro...
# random
o
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!
prisma rainbow 2
s
This is so cool! Going to try it out tonight 👍
🙌 1
o
Great to hear! Don't forget to supply your createContext function.
c
@Omar would you be available for some consulting work helping me build a couple starter projects with tRPC?
o
Hey @Chris Tsongas I appreciate the thought, but I honestly don't know much about tRPC! I know it sounds funny, since I built that generator. But I really just looked at the docs. But sure, I'll try to help with what I know. Could you tell me more?