Skip to content

Explicit attribute overrides configured via @AliasFor not supported for components picked up via component scanning #23402

Closed
@brucelwl

Description

@brucelwl

I have a longer set of annotation attributes, so I use @AliasFor to set up a short annotation. If the new annotation is set on the boot class, the value of the annotation attributes can be obtained, but the value of the annotation attributes can not be obtained on the non-boot class
Maybe if you look at my demo, you can get a clearer understanding of what I mean.
https://github.com/brucelwl/demo

Metadata

Metadata

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: feedback-providedFeedback has been providedtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions