zod
zod copied to clipboard
Sigular and plural grammatical fix
Fixed the error message on the basis of the number. Also configured the tests accordingly. #3273
Deploy Preview for guileless-rolypoly-866f8a ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 2db6626b973b4e9a9d92300bc8d135a7f3c2aef0 |
| Latest deploy log | https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/65def5d64d31aa00081145a7 |
| Deploy Preview | https://deploy-preview-3274--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.
I appreciate this, though unfortunately a lot of users' tests are written to match Zod's exact error messages, so this would be considered a breaking change. I could merge this in Zod 4, but given Zod's current level of usership, I don't think the added error clarity is worth forcing users to refactor their test suites.