Skip to content

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

Closed

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.

Activity

  1. added and removed
    status: waiting-for-triageAn issue that has not yet been triaged. Contributions will not be accepted.
    on May 14, 2021
  2. added this to the milestone on May 14, 2021
  3. self-assigned this
    on May 14, 2021
  4. modified the milestones: , 2.3.11 on May 14, 2021
  5. sdeleuze commented on May 14, 2021

    @sdeleuze
    ContributorAuthor

    Thanks Andy!

  6. added a commit that references this issue on May 7, 2022
    6051f4e
  7. added a commit that references this issue on Mar 4, 2024
    5984d4e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions