Shownotes本期节目主要介绍了运行时的校验以及它的一个实现 —— Zod.在越来越大的项目中,运行时校验是逃不开的一个环节,可以应用在表单校验,API 返回值校验和后端的参数校验中。如果你的项目多人协作但是还没有接入类似的功能,可以考虑加一下,降低一些 bug 率如果对节目有任何意见或者建议,欢迎联系 [email protected]名词解释Runtime: 运行时,运行中的情况CI: 持续集成,简而言之,build & test 放到独立的服务器去做Lint: 代码校验,规范协作情况下代码统一主播AnnatarHe: https://annatarhe.comTimeline00:20 最近意识到 zod 蛮有趣的00:50 大型项目协作的问题02:30 Runtime 检查的必要性03:20 Zod 的优势04:30 应用场景 —— 表单校验06:10 应用场景 —— API 校验07:50 应用场景 —— 后端 HTTP 参数校验09:10 Zod 实用小技巧 —— Infer09:50 Zod 实用小技巧 —— Don't Trust, Verify11:10 Zod 的竞争者们 —— Joi, Yup12:20 总结: 用起来呀~相关链接Zod: https://zod.dev/Zodios: https://www.zodios.org/Sentry: https://sentry.io/welcome/Joi: https://github.com/hapijs/joiYup: https://github.com/jquense/yup扩展阅读2 hidden ways to get more from your Gmail address: https://gmail.googleblog.com/2008/03/2-hidden-ways-to-get-more-from-your.htmlDon't Trust, Verify: 很久之前看的文章,找不到了,请自行搜索。Zod 对比: https://zod.dev/?id=comparisonBGM by Otologic
No persons identified in this episode.
This episode hasn't been transcribed yet
Help us prioritize this episode for transcription by upvoting it.
Popular episodes get transcribed faster
Other recent transcribed episodes
Transcribed and ready to explore now
3ª PARTE | 17 DIC 2025 | EL PARTIDAZO DE COPE
01 Jan 1970
El Partidazo de COPE
TNB Tech Minute: FTC Orders Instacart to Pay $60 Million Over Deceptive Practices
18 Dec 2025
WSJ Tech News Briefing
Hidden Gem Stocks We Love at the End of the Year
18 Dec 2025
Motley Fool Money
Google Undercuts the Field, OpenAI Builds an App OS, and China Accelerates
18 Dec 2025
The Daily AI Show
Lucy Liu
18 Dec 2025
Fresh Air
#2428 - Michael P. Masters
18 Dec 2025
The Joe Rogan Experience