The frustrated developer@programming.dev to Programming@programming.devEnglish · 2 months agoThe Cost of Scattered Validation Logic | The frustrated developerblog.dotslashme.ccexternal-linkmessage-square5linkfedilinkarrow-up118arrow-down10
arrow-up118arrow-down1external-linkThe Cost of Scattered Validation Logic | The frustrated developerblog.dotslashme.ccThe frustrated developer@programming.dev to Programming@programming.devEnglish · 2 months agomessage-square5linkfedilink
minus-squareesa@discuss.tchncs.delinkfedilinkarrow-up16·2 months agoWas expecting it to reference parse, don’t validate but now seems like the author might be one of today’s lucky 10000 (if they read lemmy comments)
minus-squaretowerful@programming.devlinkfedilinkarrow-up2·2 months agoYeh, Zod changed my typescript life. Zod in the frontend, Zod in the backend, everything gets parsed, I get friendly error messages, and I get types for free.
Was expecting it to reference parse, don’t validate but now seems like the author might be one of today’s lucky 10000 (if they read lemmy comments)
I was one of the lucky 10k.
Yeh, Zod changed my typescript life.
Zod in the frontend, Zod in the backend, everything gets parsed, I get friendly error messages, and I get types for free.