We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前的 artus/core 在扫描期和启动期不会扫描和加载非 export default 类,这种设计在实践中给初次使用方带来一个困扰,例如:
artus/core
export default
@Injectable() export class MyService { }
这个标记为可注入的 MyService 在实际使用中无法 Inject,考虑到 TypeScript 社区生态的使用习惯,需要在默认导出之外对具名导出也进行支持
MyService
Inject
The text was updated successfully, but these errors were encountered:
经过 8.05 上午主要涉及方飞书会议讨论,结论如下:
8.8 之前快速支持方案:
loaderState
由于目前的 Scanner 实现比较复杂,和 Loader 模块耦合过深,这一部分需要进行重构,需要梳理后给出改造方案,提供一个更加完善的实现后再将此能力在文档中透出 @noahziheng
Sorry, something went wrong.
8.05 RFC 讨论信息:
Successfully merging a pull request may close this issue.
背景
目前的
artus/core
在扫描期和启动期不会扫描和加载非export default
类,这种设计在实践中给初次使用方带来一个困扰,例如:这个标记为可注入的
MyService
在实际使用中无法Inject
,考虑到 TypeScript 社区生态的使用习惯,需要在默认导出之外对具名导出也进行支持The text was updated successfully, but these errors were encountered: