Skip to content

ConfigurationProperties is retrieved via classpath scanning but does not indicate it should be indexed #26459

@sdeleuze

Description

@sdeleuze

While implementing @ConfigurationPropertiesScan in Spring Native (see spring-attic/spring-native#716), I figured out that @ConfigurationProperties is not annotated with @Indexed while configuration properties can be retrieved as a bean via ConfigurationPropertiesScanRegistrar or application code. This is similar to #26308 which was solved for tests.

Could you please annotate @ConfigurationProperties with @Indexed? I did the modification locally and can confirm that with this modification, @ConfigurationPropertiesScan works properly on native.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions