-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: Is this project dead? #900
Comments
There's an active issue here: #783. You could switch to the PR that solves the deps for the time being |
@node-decorators/express looks like a good alternative. Not quite as full-featured, but something to build on for sure |
@martin-homer Ist he outdated dependencies resulting an issue? Its a great lightweight library thats too bad there are no recent updates, however it seems it did achieved its goal making a lean decorator-based version of express, with validations etc. Is there a concrete feature/bug that you are looking forward to? There is NestJS which also offers using controllers with Decorators however it is a whole framework that offers a comprehensive solution (much more heavy compared to routing-controllers, therefore can be an overkill). @pezholio Seems very similar, however I noticed it is not maintained for more than a year and way behind routing-controllers so I would suggest better skipping this one. |
@aviranco yes, this is an issue for us because of outdated dependencies with known vulnerabilities. We have other dependencies that also use class-validator but we can't update to newer versions (conflicts). As far as our usage, this routing-controllers feature complete and we wouldn't like to switch to other alternatives. NestJS is what inspired us to choose routing-controllers but migrating to it is a larger effort. |
Is there any possibility to use/define a custom validator? |
Really seems dead, lots of security problems with peer dependencies that are not updated, :( |
Although this seems to me a great project, I have migrated to Ts.ED and so far it seems to me a great lightweight alternative. |
Can someone recommend one that would have the lowest migration effort / most similar annotations? |
I created a fork with updated dependencies. Issues like #783 is fixed. It's published as routing-controllers-extended and is ready to use. The migration effort is very low. |
uiii! can't wait to try, thanks so much |
Am I the only one thinking TsEd is a bit too much? I mean, looks great but it feels overengineered. I will move to the fork. |
I thought the same as you, but I did the migration to Ts.ED and it is very simple and does not add too much complexity. Here you can find a template for creating a production-ready REST API using Ts.ED. |
Same here, also moved to tsed. Just do not forget to implement the class-validator middleware as provided in the sample. I think if there is a fork, that is much easier. It was quite some work to understand all the differences between the projects. I needed to switch from esbuild to swc to get tsed working on an acceptable compilation speed for debugging. Also i needed to implement some custom decorator to minic the ip address decorator from this project and to get the current user i needed to modify the authenicator middleware. That said, tsed is a very nice project, with lots of possibilities. Verstuurd vanaf mijn iPhoneOp 19 nov. 2022 om 15:15 heeft Borja Paz Rodríguez ***@***.***> het volgende geschreven:
Am I the only one thinking TsEd is a bit too much? I mean, looks great but it feels overengineered. I will move to the fork.
I thought the same as you, but I did the migration to Ts.ED and it is very simple and does not add too much complexity.
Here you can find a template for creating a production-ready REST API using Ts.ED.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
What do you mean don't forget to implement the |
routing-controllers-openapi has been migrated to routing-controllers-extended too. https://www.npmjs.com/package/routing-controllers-extended-openapi |
No, the project is not dead. It just needs a little love. I know it was a bit miscommunicated but here's a thread from NoNameProvided: typestack/class-validator#1775 or typestack/typedi#391 @spicemc Would you consider creating a PR from your fork? |
Sure, i'll create a PR. |
thanks @attilaorosz ! Closing this one |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It has been almost a year and a half since the latest release. There are a bunch of outdated dependencies.
Should we migrate away from routing-controllers? any alternative?
Thanks
The text was updated successfully, but these errors were encountered: