zod
zod copied to clipboard
Allow undefined values in record, similar to object.
ZodRecord and ZodObject _parse methods are dealing differently with undefined values which seems inconsistent.
Problem described further in this issue: #2762 .
I added the same logic to the _parse method in ZodRecord as implemented in ZodObject.
closes #2762
Deploy Preview for guileless-rolypoly-866f8a ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | a1666619d24d73c42f704d5c39d51a81e371490c |
| Latest deploy log | https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/654391bbae175e0008b7e988 |
| Deploy Preview | https://deploy-preview-2827--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! This is really great. Big oversight on mergeObjectSync...thanks for catching.