Replies: 2 comments 1 reply
-
I personally think zod-form-data is better for this use case, but I'll keep this discussion open to see what the community thinks as well. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I 100% support this. No client-side form library works with zod-form-data, so I either need to duplicate schemas or only validate on the server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I really like how Astro Actions are abstracting Server Actions. They are also heavily inspired by trpc. For me, the handling of FormData looks like a good solution. I know that I could use
zod-form-data
for that, but I like the astro solution more.Would a similar API be an idea for next-safe-action?
Beta Was this translation helpful? Give feedback.
All reactions