Skip to content

Support @Import on interfaces - #34820

Closed
kwondh5217 wants to merge 3 commits into
spring-projects:mainfrom
kwondh5217:main
Closed

Support @Import on interfaces#34820
kwondh5217 wants to merge 3 commits into
spring-projects:mainfrom
kwondh5217:main

Conversation

@kwondh5217

Copy link
Copy Markdown
Contributor

Closesgh-34805

Closesspring-projectsgh-34805
Signed-off-by: Daeho Kwon <trewq231@naver.com>
@spring-projects-issuesspring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 24, 2025
@bclozelbclozel added the in: core Issues in core modules (aop, beans, core, context, expression) label Jun 3, 2025
@sbrannensbrannen self-assigned this Jun 3, 2025
@sbrannensbrannen added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 3, 2025
@sbrannensbrannen added this to the 7.0.0-M6 milestone Jun 3, 2025

@sbrannensbrannen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

I've requested a few changes.

@kwondh5217

Copy link
Copy Markdown
ContributorAuthor

@sbrannen Thanks for the review!
I’ve updated the code as suggested and added the test.
Please take another look when you have time 🙇

@sbrannensbrannen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the requested changes!

I've added an additional request to revise the "local @Import" use case.

Please also update the copyright header in ImportSelectorTests.

Thanks

@sbrannensbrannen added the status: waiting-for-feedback We need additional information before we can continue label Jun 4, 2025
Closesspring-projectsgh-34805
Signed-off-by: Daeho Kwon <trewq231@naver.com>
@kwondh5217

Copy link
Copy Markdown
ContributorAuthor

Thanks for the guidance, @sbrannen.
I’ve pushed the update with @Import on OverridingConfig.
Please take another look when you have time

@kwondh5217
kwondh5217 requested a review from sbrannenJune 4, 2025 12:04
@spring-projects-issuesspring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Jun 4, 2025
@sbrannensbrannen removed the status: feedback-provided Feedback has been provided label Jun 4, 2025

@sbrannensbrannen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

Thanks for making all of the requested changes.

sbrannen added a commit that referenced this pull request Jun 4, 2025
- Update @⁠Import Javadoc
- Move tests from ImportSelectorTests to ImportTests
See gh-34820
@sbrannen

Copy link
Copy Markdown
Member

This has been merged into main in a4d5800 and slightly revised in 4581324.

Thanks

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

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider implemented interfaces during @Import processing

4 participants

@kwondh5217@sbrannen@bclozel@spring-projects-issues