<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bufferings</author_name>
  <author_url>https://blog.hatena.ne.jp/bufferings/</author_url>
  <blog_title>Mitsuyuki.Shiiba</blog_title>
  <blog_url>https://bufferings.hatenablog.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>以前にZod v4リリース前のz.discriminatedUnionを見てた。このときはまだv4リリース前のベータ版だった。 そういえば、ドキュメント修正のIssueあげたことをすっかり忘れてたなぁ。どうなったんだろう？って思って見てみたら、最終的に仕様が変わってた。あら。 No longer applicable now that z.discriminatedUnion() now requires you to specify a discriminator (as before): #4402 This was one of the issues that led me to ref…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbufferings.hatenablog.com%2Fentry%2F2025%2F12%2F14%2F222140&quot; title=&quot;Zodのz.discriminatedUnionは結局、識別プロパティの指定が必要な仕様に戻ってた - Mitsuyuki.Shiiba&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-14 22:21:40</published>
  <title>Zodのz.discriminatedUnionは結局、識別プロパティの指定が必要な仕様に戻ってた</title>
  <type>rich</type>
  <url>https://bufferings.hatenablog.com/entry/2025/12/14/222140</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
