Zod validation: I just need opinions on this, I'm a solo newbie...
I am adding Zod validations that I want to perform both client and server side. My approach was using server actions to submit forms, but this does not add validation to the actual api endpoints and forces me to use server actions instead of
The validation plugin is inactive so I thought it is better not to mess with it.
The solution to ditch validation inside server actions I am evaluating is modifying the
Does this in fact validate all auth and authClient requests? Obviously I also need to add something like
Does this seems right to you? Do you think there is a better approach to this?
Thank you for your attention!
authClient .The validation plugin is inactive so I thought it is better not to mess with it.
The solution to ditch validation inside server actions I am evaluating is modifying the
api/auth/[...all] fileDoes this in fact validate all auth and authClient requests? Obviously I also need to add something like
Does this seems right to you? Do you think there is a better approach to this?
Thank you for your attention!