Docs: “no shared discriminator key → init error” statement is inaccurate in v4 beta · Issue #4332 · colinhacks/zod

Hi 👋 While trying the v4 beta I noticed that the docs for z.discriminatedUnion() don’t match the current behavior. https://v4.zod.dev/v4#upgraded-zdiscriminatedunion If no shared discriminator key ...