zod icon indicating copy to clipboard operation
zod copied to clipboard

Sigular and plural grammatical fix

Open RockingThor opened this issue 1 year ago • 1 comments

Fixed the error message on the basis of the number. Also configured the tests accordingly. #3273

RockingThor avatar Feb 27 '24 04:02 RockingThor

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...

QR Code

Use your smartphone camera to open QR code link.

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

netlify[bot] avatar Feb 27 '24 04:02 netlify[bot]

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.

colinhacks avatar Mar 21 '24 22:03 colinhacks