Skip to content

Enforce strict @Import rules for transitive bean dependencies#36488

Open
pranavmanglik wants to merge 1 commit intospring-projects:mainfrom
pranavmanglik:main
Open

Enforce strict @Import rules for transitive bean dependencies#36488
pranavmanglik wants to merge 1 commit intospring-projects:mainfrom
pranavmanglik:main

Conversation

@pranavmanglik
Copy link

@pranavmanglik pranavmanglik commented Mar 17, 2026

This commit introduces an optional 'strict mode' to detect when a Configuration class uses a bean from a transitive source without explicitly importing that source.

This commit introduces an optional 'strict mode' to detect when a
@configuration class uses a bean from a transitive source without
explicitly importing that source.

Closes spring-projects#36153

Signed-off-by: Pranav Manglik <pranav@undreamt.in>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants