-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(validator-zod): Surface nested errors when validating a union type (
#294) * feat(validator-zod): add failing zod union type validation test * fix(validator-zod): validator now surfaces union type errors (#248) * chore(validator-zod): add changeset * feat: add zod discriminatedUnion validation test
- Loading branch information
Showing
3 changed files
with
77 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@felte/validator-zod': minor | ||
--- | ||
|
||
Fixes an issue where errors from validating Zod union types weren't captured (#248) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters