The frustrated developer@programming.dev to Programming@programming.devEnglish · 1 month agoThe Cost of Scattered Validation Logic | The frustrated developerblog.dotslashme.ccexternal-linkmessage-square5linkfedilinkarrow-up120arrow-down10
arrow-up120arrow-down1external-linkThe Cost of Scattered Validation Logic | The frustrated developerblog.dotslashme.ccThe frustrated developer@programming.dev to Programming@programming.devEnglish · 1 month agomessage-square5linkfedilink
minus-squareesa@discuss.tchncs.delinkfedilinkarrow-up16·1 month 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·1 month 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.