The frustrated developer@programming.dev to Programming@programming.devEnglish · 9 days 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 · 9 days agomessage-square5linkfedilink
minus-squareesa@discuss.tchncs.delinkfedilinkarrow-up16·8 days 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·8 days 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)
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.
I was one of the lucky 10k.