Skip to content

fix: Vee-Validate 4 - add Zod 4 support for union errors#5154

Open
BlueskyFR wants to merge 1 commit into
logaretm:v4from
BlueskyFR:v4
Open

fix: Vee-Validate 4 - add Zod 4 support for union errors#5154
BlueskyFR wants to merge 1 commit into
logaretm:v4from
BlueskyFR:v4

Conversation

@BlueskyFR

Copy link
Copy Markdown

🔎 Overview

Adds support for Zod 4 with Vee-Validate 4 for union errors.

🤓 Code snippets/examples (if applicable)

Handles errors for schema, for instance:

z.union([z.string(), z.number()]);

Issues affected

closes #5153

Please be sure to ask if furher details are required, I didn't bother too much with a full repro for instance because it's such a small fix but happy to help if needed!

@changeset-bot

changeset-bot Bot commented May 5, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 464abdd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented May 5, 2026

Copy link
Copy Markdown

Deploy Preview for vee-validate-v4 ready!

Name Link
🔨 Latest commit 464abdd
🔍 Latest deploy log https://app.netlify.com/projects/vee-validate-v4/deploys/69fa5f033f009c0008fec4b2
😎 Deploy Preview https://deploy-preview-5154--vee-validate-v4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@BlueskyFR BlueskyFR changed the title fix: add Zod 4 support for union errors fix: Vee-Validate 4 - add Zod 4 support for union errors May 5, 2026
@BlueskyFR

BlueskyFR commented May 11, 2026

Copy link
Copy Markdown
Author

I'm already using this in prod, could we get this merged or edits requested please? @logaretm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant