colinhacks / zod

TypeScript-first schema validation with static type inference
https://zod.dev
MIT License
33.92k stars 1.18k forks source link

fix: make transform short-circuit on returning z.NEVER #3691

Open yasamoka opened 3 months ago

yasamoka commented 3 months ago

Resolves refine getting incorrect value type (among others) as stated in #2192.

Thank you very much!

netlify[bot] commented 3 months ago

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
Latest commit 2b7a457c71b79d4e49bb20393d11a2bbb8434eca
Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/66b4b25c1058050008d6cd43
Deploy Preview https://deploy-preview-3691--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.