<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Zod on /dev/eric</title>
		<link>https://ericlim.dev/tags/zod/</link>
		<description>Recent content in Zod on /dev/eric</description>
		<generator>Hugo</generator>
		<language>en-GB</language>
		
		
		
		
			<lastBuildDate>Wed, 09 Sep 2026 08:23:00 +1200</lastBuildDate>
		
			<atom:link href="https://ericlim.dev/tags/zod/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>(Don&#39;t) Kneel Before Zod</title>
				<link>https://ericlim.dev/posts/20260909t082339--dont-kneel-before-zod/</link>
				<pubDate>Wed, 09 Sep 2026 08:23:00 +1200</pubDate>
				<guid>https://ericlim.dev/posts/20260909t082339--dont-kneel-before-zod/</guid>
				<description>&lt;p&gt;I’ve found yet another reason to hate &lt;a href=&#34;https://github.com/colinhacks/zod&#34;&gt;zod&lt;/a&gt; in production. I associate it with&#xA;other bloatware, the likes of ORMs and heavy frameworks such as NestJS. Before I&#xA;digress into more ragebait ranting on this beloved library, I’d like to share&#xA;how &lt;code&gt;schema.parse()&lt;/code&gt; caused a SEV-2 incident.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-incident&#34;&gt;The Incident&lt;/h2&gt;&#xA;&lt;h3 id=&#34;one-extra-string&#34;&gt;One extra string&lt;/h3&gt;&#xA;&lt;p&gt;A React app I work on ships as a micro frontend into a much larger host&#xA;application. My team owns both ends of the contract, and every response from&#xA;those services gets validated with zod before it reaches any state. One of those&#xA;responses is a map of note templates, each declaring which sections of a&#xA;clinical note it belongs to.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
