Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh, not sure how I missed this.

I don't love the class-based declarations: it's a bit verbose and doesn't allow you to use things like the spread operator to "mix in" fields into objects. There's also some redundancy required for basic types:

  @IsString
  firstName: string;
For my purposes, I also needed support for recursive types, unions, and intersections, which I don't believe are supported.

But their validation built-ins go way beyond Zod (IsEmail, Min, Max, Contains, native Date support, etc). Thanks for sharing.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: