Skip to content

Document @Lazy and ObjectProvider remedies for circular dependencies#37045

Open
Jitmanew-Tyagi wants to merge 1 commit into
spring-projects:mainfrom
Jitmanew-Tyagi:docs/circular-dependency-remedies-26703
Open

Document @Lazy and ObjectProvider remedies for circular dependencies#37045
Jitmanew-Tyagi wants to merge 1 commit into
spring-projects:mainfrom
Jitmanew-Tyagi:docs/circular-dependency-remedies-26703

Conversation

@Jitmanew-Tyagi

Copy link
Copy Markdown

Expand the "Circular dependencies" callout to recommend refactoring away the cycle and to describe keeping constructor injection via @lazy on a constructor parameter or an ObjectProvider/Provider for on-demand lookup, in addition to the existing setter-injection fallback.

See gh-26703

Expand the "Circular dependencies" callout to recommend refactoring away
the cycle and to describe keeping constructor injection via @lazy on a
constructor parameter or an ObjectProvider/Provider for on-demand lookup,
in addition to the existing setter-injection fallback.

See spring-projectsgh-26703

Signed-off-by: Jitmanew Tyagi <jitmanew@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 13, 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