Skip to content

Commit 393575a

Browse files
committed
errorMap option for the Zod adapter
1 parent 4452d7f commit 393575a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- `errorMap` option for the Zod adapter, for simplified error handling in localization. ([Zod docs](https://zod.dev/ERROR_HANDLING?id=customizing-errors-with-zoderrormap))
13+
1014
### Fixed
1115

1216
- `isTainted` now works with undefined values in the `$tainted` store.

0 commit comments

Comments
 (0)