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

创建容器时可以指定 namespace 为空字符串,但是引用时却无法引用 #262

Closed
Createsequence opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Createsequence
Copy link
Collaborator

创建容器时,可以将容器的 namespace 指定为空字符串,并且成功注册到全局配置对象中。但是在实际使用时,通过 @Assemble(container = "") 的方式却无法正确引用。

由于当配置装配操作时,namespace 为空会认为需要进行内省,因此正常情况下应当不允许用户注册 namespace 为空的容器,因为这没有意义。

@Createsequence Createsequence added the bug Something isn't working label Apr 18, 2024
@Createsequence Createsequence self-assigned this Apr 18, 2024
@Createsequence Createsequence added this to the release 2.8.0 milestone Apr 18, 2024
Createsequence added a commit that referenced this issue Apr 18, 2024
Createsequence added a commit that referenced this issue Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant