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.
In this episode of Syntax, Wes and Scott talk about their respective processes for converting JavaScript to TypeScript in their projects, why you might want to, and tooling for moving to TypeScript.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats