News for hackers. Stuff that matters.
Re:Full-Stack TypeScript with tRPC and React by kamilafsar on Tuesday March 14, 2023 @06:16PM (#35159799)
There is a difference with approaches like openapi/swagger/graphql though.

With Phero you define your models with plain TS. Our code-gen will "just" copy the exact same models to your client SDK. The DX is night and day.

We believe domain models are the most important part of your codebase. We don't like to define them in an intermediate language like graphql/swagger/graphql/you-name-it.

Because we support plain TS as "input" if you will, you can use all features and greatness TS comes with. Like generics, conditional types, mapped types, even template literal types!

Re:Full-Stack TypeScript with tRPC and React by arnorhs on Thursday March 16, 2023 @07:15AM (#35180507)
fair enough, i can imagine that feeling pretty nice.