Tsoa: [Question] Comparison to inversify-express-utils package

Created on 5 Mar 2019  Â·  5Comments  Â·  Source: lukeautry/tsoa

New user here. I was wondering what is the difference between tsoa and inversify-express-utils?

Not trolling, just trying to understand which is a better fit for my needs. I like the ASP.NET / Spring way of doing things, and I noticed that both packages offer such features.

Are they equivalent or are there any major differences?

Most helpful comment

Yeah, I would say that this library was designed, first and foremost, to create real world APIs.

Check out https://github.com/lukeautry/ts-app for a full stack example of how tsoa fits in with an entire application.

All 5 comments

Hey @lonix1 - from what I can see, inversify-express-utils does route creation, but it doesn't generate a Swagger specification.

Part of the draw of tsoa is that you can generate client SDKs and documentation easily.

@lukeautry Thanks!

I can't put my finger on it exactly, but it seems this library is more well rounded. I think that one was "added" to a container, whereas this one was meant to emulate aspnet/spring (IoC wasn't the point).

Yeah, I would say that this library was designed, first and foremost, to create real world APIs.

Check out https://github.com/lukeautry/ts-app for a full stack example of how tsoa fits in with an entire application.

Wow that is one monster DDD example app! I use angular, but I'm gonna have fun digging into the server side of it! Thanks! You've structured it in an awesome way that I miss from aspnet, in node everything is so... messy! :laughing:

No IoC though?

With IoC and some cqrs that is basically the perfect sample app for those coming to node from .net/java/rails.

Nope, but I don't think it would be too much trouble to add it in since
tsoa supports inversify.

On Tue, Mar 5, 2019 at 12:12 PM lonix1 notifications@github.com wrote:

Wow that is one monster DDD example app! I use angular, but I'm gonna have
fun digging into the server side of it! Thanks! You've structured it in a
way that I miss from aspnet, in node everything is so... messy! 😆

No IoC though?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lukeautry/tsoa/issues/339#issuecomment-469767559, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIXUAFEbdZ44qAhVUtZ2Pxd5g7sixiFpks5vTqVigaJpZM4bej_v
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rustam-crunch picture rustam-crunch  Â·  5Comments

amcdnl picture amcdnl  Â·  6Comments

picturelink picture picturelink  Â·  5Comments

sundowndev picture sundowndev  Â·  4Comments

Izabrr picture Izabrr  Â·  4Comments