zod icon indicating copy to clipboard operation
zod copied to clipboard

Allow undefined values in record, similar to object.

Open galmrz opened this issue 2 years ago • 1 comments

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

galmrz avatar Oct 01 '23 13:10 galmrz

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

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 Oct 01 '23 13:10 netlify[bot]

Thanks! This is really great. Big oversight on mergeObjectSync...thanks for catching.

colinhacks avatar Apr 30 '24 04:04 colinhacks