Comment

Comment by brillout

I still don't see a concrete use case that would justify using Zod in favor of `shield()`. Both "input cannot exceed 256 chars" and "number must be positive" are one-liners in JavaScript.

I'm more than open to support Zod & co, but I'd like to see a concrete use case for it.

parent brillout 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton