2min chapter

Syntax - Tasty Web Development Treats cover image

Converting JS to TypeScript

Syntax - Tasty Web Development Treats

CHAPTER

Generate All Your Forms With MongoDB

MongoDB has built in data validation, but it has to be through JSON Schema. With ZOD, you can take ZOD in like schema, all of your data out and then you can infer the types directly from thatscheme. And furthermore, I use it and I run it through a ZOD toJSONSchema function. That's but not a XML schemaltab or any other kind of code base. It generates all my forms for me. This is really nice. We can go deeper on this, but you know, this is a good opportunity.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode