Skip to content

Document @Lazy and ObjectProvider remedies for circular dependencies#37044

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

Document @Lazy and ObjectProvider remedies for circular dependencies#37044
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>
@bclozel bclozel added the status: duplicate A duplicate of another issue label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: duplicate A duplicate of another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants