meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Zod Schema Validation and Type Generation

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 7 November 2022

⏱️ 24 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about Zod, a TypeScript-first schema validation with static type inference. How are we using Zod? What do we like? And our thoughts on the Zod ecosystem. Linode - Sponsor Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started. LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax. Show Notes 00:24 Welcome 01:48 Sponsor: LogRocket 02:54 Sponsor: Linode 04:07 Minecraft thoughts Minecraft 06:25 Scratch Scratch 07:19 What is Zod? Zod Zod comparison 10:05 Features of Zod 13:24 How we’re using Zod 14:40 How Zod works with MongoDB 15:51 3rd party plugins 19:35 Zod ecosystem Zod Ecosystem 22:22 Asynchronous validation Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday! Monday! Monday! Open wide dev fans! Get ready! To stuff your face with

0:07.0

JavaScript CSS! Node modules! Barbecue tips! Get workflow! Break dancing! Soft skills!

0:12.0

Web development! The hastiest! The courageous! The tastiest! Web development

0:17.0

treats! Coming in hot! Here is Wes Barakuda! Boss! And Scott El Torro Lugo!

0:24.0

Tolinsky!

0:27.0

Welcome to syntax on this Monday! Hasty treat! We're going to be talking about

0:34.0

Zod! And what it is, how it uses schema validation and type

0:40.0

generation to make your life easier when working with data, but more

0:44.0

most importantly, why anyone would even use something like Zod? What is its place?

0:48.0

And why are you starting to see it pop up everywhere nowadays? It's one of

0:52.0

those projects that has been catching a little bit of hype for what it is and

0:56.0

it's a really neat project at the end of the day for something it's as neat of

1:01.0

a project as you could have around data validation as one exists. So we'll be

1:06.0

talking about all that and more in this episode. My name is Scott Tolinsky. I'm a

1:09.0

developer from Denver, Colorado, and with me, as always, is Wes Boss! Hey everybody!

1:16.0

Excited to be here! Excited to talk about Zod! I know it's one of those

1:20.0

names. You got to kind of say like that. Wes did like a whole face when he said

1:23.0

Zod, which I don't know if they'll come across in the recording, but you did

1:26.0

like a really good, like Zod, like kind of face. Yeah. This episode is also

1:31.0

sponsored by two amazing companies, Linode and Log Rocket. Both of these

1:37.0

companies actually could kind of fit into data validation, right? If you think

1:41.0

about it, if you're building a service, maybe you're building like a data API

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.