Skip to content
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

是否支持基于配置文件的components初始化 #1

Open
pond918 opened this issue Oct 25, 2021 · 2 comments
Open

是否支持基于配置文件的components初始化 #1

pond918 opened this issue Oct 25, 2021 · 2 comments

Comments

@pond918
Copy link

pond918 commented Oct 25, 2021

例如我有一个Repo类,基于不同的参数,在配置文件内可以声明多个repo实例。目前用注解,必须在定义class的时候声明,貌似不能一个class多个实例?

@royalrover
Copy link
Contributor

并未支持,这种需求更像类似spring-mvc的使用场景,可看下rockerjs-mvc是否满足需求

@pond918
Copy link
Author

pond918 commented Oct 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants