zod icon indicating copy to clipboard operation
zod copied to clipboard

Fix #3273

Open sgrsngh2003 opened this issue 1 year ago • 2 comments

String length validation error messages can't distinguish between singular and plural count. Fix #3273

sgrsngh2003 avatar Feb 27 '24 07:02 sgrsngh2003

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

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 07:02 netlify[bot]

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.

colinhacks avatar Mar 22 '24 01:03 colinhacks