zod icon indicating copy to clipboard operation
zod copied to clipboard

Add `class` getter to the return of `z.instanceof`

Open branchseer opened this issue 1 year ago • 2 comments

branchseer avatar Aug 07 '22 13:08 branchseer

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
Latest commit 1a6e127f5212b4a4b484c22ccfd7732079f602c7
Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/62efbceb8250b00008e3f61e
Deploy Preview https://deploy-preview-1321--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 settings.

netlify[bot] avatar Aug 07 '22 13:08 netlify[bot]

This is a well made PR, but I'm not convinced it's worth introducing a new subclass of ZodType just to add the class getter. Is there a compelling argument in favor? Keep in mind that I'm in a continual struggle to keep the bundle size of Zod low - it's at 10KB currently and I get complaints with some regularity.

colinhacks avatar Aug 09 '22 22:08 colinhacks

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 08 '22 22:10 stale[bot]