thiagobustamante / typescript-rest

This is a lightweight annotation-based expressjs extension for typescript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate to tsoa?

ArminEberle opened this issue · comments

Hi there,

we've been using your lib very gladly and thankfully for the last two years now.
However, upgrading typescript versions and type patterns has led to problems with certain type parameters. From this point, we've been searching for alternatives and found one that seems to be more frequently maintained and has some more features: https://github.com/lukeautry/tsoa - especially what I see at this point:

  • Better support for Omit / Partial types, especially with typescript-rest-swagger
  • validation of input parameters against the typescript typings at runtime
  • decorator-metadata-less runtime viability - this enables us to compile our backend code with webpack / esbuild directly from the .ts files instead of needing have a tsc compile up front, thus saving on build time.

What I'd like to ask is if you would mention this alternative on your homepage? Or even do a feature comparison? Migration is a little work to do, mentioning tsoa might give a new developer the chance to make an educated guess what better suits their needs before settling on one of the alternatives.

I see that a similar request has been made already here thiagobustamante/typescript-rest-swagger#84 but this is typescript-rest-swagger - which you will typically learn of later on during development.

Kind Regards,

Armin

It's a shame because typescript-rest is really natural to work with. Could a few of us join forces and fork it?

commented

I would also like to support a new fork and continue this amazing project!