working with validator and zod in Server Function
i was unable to get the error handling properly because i assumed the error would be thrown to the client in its original form. Poking around i found this parameter
validateClient
and it seems to let my code work, the zod error is thrown to the client, but I am getting a type error?
Am I doing something wrong?0 Replies