Skip to content

Consider implemented interfaces during @Import processing #34805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wilkinsona opened this issue Apr 23, 2025 · 0 comments · May be fixed by #34820
Open

Consider implemented interfaces during @Import processing #34805

wilkinsona opened this issue Apr 23, 2025 · 0 comments · May be fixed by #34820
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

See spring-projects/spring-boot#45252 for background.

ConfigurationClassParser does not consider implemented interfaces when finding @Import (meta-)annotations. It would enable the scenario described in spring-projects/spring-boot#45252 if it did. I think it would also be more consistent with other areas of Framework where implemented interfaces are considered. The test context framework is one such area.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 23, 2025
@jhoeller jhoeller added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 23, 2025
@jhoeller jhoeller added this to the 7.0.x milestone Apr 23, 2025
kwondh5217 added a commit to kwondh5217/spring-framework that referenced this issue Apr 24, 2025
kwondh5217 added a commit to kwondh5217/spring-framework that referenced this issue Apr 24, 2025
@kwondh5217 kwondh5217 linked a pull request Apr 24, 2025 that will close this issue
kwondh5217 added a commit to kwondh5217/spring-framework that referenced this issue Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants