tRPCttRPC
Powered by
backboneB
tRPC•3y ago•
1 reply
backbone

how to use the same Zod validation both client and server's procedure input

When submitting forms, I need the same validation. How to reduce the repeated code?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

client side Validation with ZOD
Mohammed AnasMMohammed Anas / ❓-help
3y ago
zod input validation from ts type
intiserxIintiserx / ❓-help
3y ago
How to use output validation for dates? (Zod, SuperJSON)
fengFfeng / ❓-help
2y ago
procedure input context
MugetsuMMugetsu / ❓-help
4y ago