AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
ZOD to Schema
In the past, we had handwritten all of our database types and that was just like a giant, giant pain in the bum. We now use ZOD to schema out your data and then you get the types for free from that Schema. I generated a lot of my types from just data that had lying around in the thing. That's really good. One I went through and made all of my unions, I have product codes, course codes, customers, country codes. So those are basically functions that are very simple because those utilities are used all throughout the code base.