Closed tuankietcoderr closed 4 months ago
Cannot reproduce the issue on my end. Please provide a link to a public repo with a minimal reproduction of the problem so I can investigate the issue.
I updated to latest version and install @typeschema/zod resolved my problem, thank you for your time and sorry for this dump issue
Glad to hear that. Out of curiosity, did you install next-safe-action@next
or next-safe-action
(stable version) when you experienced the issue described here? Because upcoming version 7 (next
branch) is a complete rewrite of the library and requires the installation of a TypeSchema adapter along with the validation lib, while version 6 requires just the validation lib to be installed. So it's expected that the two versions are incompatible with each other.
Are you using the latest version of this library?
Is there an existing issue for this?
Describe the bug
I'm getting this error when using with
zod
My schema is:
Reproduction steps
I created a module to include
safeAction
:I created a module include
taxFormSchema
:And the error occured:
Expected behavior
Everything works OK!
Reproduction example
Internal project
Operating System
macOS
Library version
6.2.0
Additional context
Full errors:
No response