Replies: 1 comment 1 reply
-
|
Hi @kalgon! I'm Dosu and I’m helping the zod team. I'm a bot trained on Zod's codebase and issues. The difference you noticed is intentional: in Zod Mini, To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In regular zod, I can do something like:
and I would have expected to convert that in zod/mini to:
But I can only pass the transformation function and not a schema + function.
Was it intended to be this way or is this an oversight?
Beta Was this translation helpful? Give feedback.
All reactions