Skip to content

[spring framework 7] add validation to check for @Component like annotations on bean registrars #1523

Closed

Description

@martinlippert

Since bean registrars are not beans, we should add a validation that users don't add @Component, @Configuration or anything like that by accident to bean registrar classes. We can basically check for @Component if we take the meta annotation hierarchy into account.

Activity

  1. added
    for: eclipse
    for: vscode
    on Mar 24, 2025
  2. added this to the 4.30.0.RELEASE milestone on Mar 24, 2025
  3. BoykoAlex commented on Apr 4, 2025

    @BoykoAlex
    Contributor

    Fixed via 0962558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

for: eclipsefor: vscodetheme: validationtype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions