Skip to content

Comments

Feat/add convert#3861

Closed
oberbeck wants to merge 2 commits intocolinhacks:mainfrom
oberbeck:feat/add-convert
Closed

Feat/add convert#3861
oberbeck wants to merge 2 commits intocolinhacks:mainfrom
oberbeck:feat/add-convert

Conversation

@oberbeck
Copy link

@oberbeck oberbeck commented Nov 19, 2024

Example implementation which fixes #3860

@netlify
Copy link

netlify bot commented Nov 19, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit dad8820
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/673c8245428c700008004ec6
😎 Deploy Preview https://deploy-preview-3861--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.

@colinhacks
Copy link
Owner

Went a different way with this, but thanks for the PR/concept! This is now achievable with the new .decode() methods in Zod 4.1, which were added in conjunction with the Codec API: https://colinhacks.com/essays/introducing-zod-codecs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC/Feature Request: Add a type-safe convert/input output mapper method for compile time input validation

2 participants