Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Conversation

@camzach
Copy link

@camzach camzach commented May 25, 2023

Currently the validator passed to zact is used to parse the input, but the result of the parsing is ignored and the original input is passed anyways. This prevents any transforms from actually taking place, despite the types believing they have.

This is particularly problematic when using server actions attached to a form, as packages like zod-form-data don't show any type errors despite being completely broken in runtime.

@vercel
Copy link

vercel bot commented May 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zact-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2023 1:52pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants