zod
zod copied to clipboard
Fix #3273
String length validation error messages can't distinguish between singular and plural count. Fix #3273
Deploy Preview for guileless-rolypoly-866f8a ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 39abac1d29fd23a7069b892ef2637dd8f2e53038 |
| Latest deploy log | https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/65df6ac2d4d1a600083c73ca |
| Deploy Preview | https://deploy-preview-3275--guileless-rolypoly-866f8a.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks for the PR @sgrsngh2003, it's very well done.
Unfortunately, a lot of Zod users have written tests that match against the exact error messages produced by Zod. While technically this could be merged as part of Zod 4, I'm not convinced the inconvenience of such a change for users is worth the marginal improvement to clarity here.