Skip to content

Maybe nacos should remove the @Qualifier annotation used #13704

@five111

Description

@five111

nacos version 3.0.2

Many beans in the nacos config module are specified by Qualifier, which actually deviates from the principle of relying on interfaces rather than implementations. Currently, nacos has already controlled the loading of specific implementations of the runtime through Conditional, so it is recommended to delete the relevant Qualifier

nacos config模块很多bean的依赖通过Qualifier指定实现,这实际上背离了依赖接口而不是依赖实现的原则,且当前nacos已经通过Conditional控制运行态具体实现的加载了,所以建议删除相关Qualifier

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/discussionCategory issues related to discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions