-
Notifications
You must be signed in to change notification settings - Fork 388
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
关于Loader中的Ioc的讨论 #19
Comments
从使用上来说没有影响。一样用的。 与pomelo的结果是一样的。 |
这个原计划是把remote、handler等单件组件通过IOC模式创建的 |
希望支持IOC,https://github.com/typestack/typedi 了解一下,我在web项目中用了大量的typestack的库,很好用 |
我觉得typestack 是包含很多有用的库,但是typedi 我觉得用处不大
George
在 2018年5月18日,上午9:39,Diluka <[email protected]<mailto:[email protected]>> 写道:
希望支持IOC,https://github.com/typestack/typedi 了解一下,我在web项目中用了大量的typestack的库,很好用
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#19 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGa-OTvbMr9ZmCboojIM9MvO_RXzNag0ks5tziZfgaJpZM4TMKaB>.
|
nestjs 了解一下。 https://github.com/nestjs/nest |
Update dependency underscore to v1.9.1
现在nodejs中确实nestjs最好用了,这个也可以考虑把express替换成nestjs,ioc也确实更加方便 |
这个还是不建议集成到 pinus里。 会增加很大的学习成本。有需要的可以自己研究。 如果需要的人多我可以放一个简单的demo到 examples里。当然,每个人的理解不一样,只能做为参考。 |
求demo |
求demo |
能提供一个nest版本的demo吗?感谢🙏 |
这两天我抽时间搞一搞 |
示例加上了 |
thanks |
Where you supposed to call useContainer(nestApp) in NestComponent? |
看到Loader中使用了IOC以及Reflect, 在之前的pomelo是没有的, 不知道作者在这块是如何考虑, 是否有示例@mybios
The text was updated successfully, but these errors were encountered: