devrsi0n/chirpy

refactor: use zod for client form validation

devrsi0n opened this issue · 0 comments

Currently, we're using zod for trpc input validation, at the same time, we're using custom logics for client side validation, the deviation between server & client causes maintenance and vulnerability issues. We should extract zod logic, and share it with client & server.