News for hackers. Stuff that matters.
Re:Zod 4 by myflash13 on Tuesday May 20, 2025 @07:24AM (#44040259)
Any good backend framework (Laravel, Django, Livewire, Rails) does server side validation out of the box without me as a developer needing to manually pass around JSON objects and continually checking their shape. The boundary between user input and backend code is well defined and border checks are easy.
Re:Zod 4 by dhruvrajvanshi on Tuesday May 20, 2025 @07:47AM (#44040449)
> manually pass around JSON objects and continually checking their shape

Well Zod is a library that's typically used on the boundary.

I don't know why you're assuming stuff about a library that you've never used. No one would continually check their shape once it's validated at the api boundary.