Top "Circular-dependency" questions

circular dependency is a relation between two or more modules which either directly or indirectly depend on each other to function properly.

Spring circular dependency using setters

I have read that to avoid circular dependencies I can use @Autowired on setters instead of constructors. If so, why …

spring circular-dependency
How do I detect circular logic or recursion in a multi-levels references and dependencies

I have a graph of multi-level dependecies like this, and I need to detect any circular reference in this graph. …

circular-dependency circular-reference
Circular dependency injection angular 2

I've been struggling around injecting services into each other. The following blog Circular Dependency in constructors and Dependency Injection is …

angular dependency-injection circular-dependency
Forward declaration & circular dependency

I've got two classes, Entity and Level. Both need to access methods of one another. Therefore, using #include, the issue …

c++ dependencies declaration circular-dependency forward
ruby: how to require correctly (to avoid circular dependencies)

today i was facing a strange problem: got a 'missing method' error on a module, but the method was there …

ruby dependencies dependency-management circular-dependency
circular dependencies between dlls with visual studio

I have a circular dependency between two functions. I would like each of these functions to reside in its own …

c++ dll circular-dependency
Circular dependencies in StructureMap - can they be broken with property injection?

I've got the simplest kind of circular dependency in structuremap - class A relies on class B in its constructor, …

c# dependency-injection structuremap circular-dependency
Circular dependency - Injecting objects that are directly depended on each other

I have used Dice PHP DI container for quite a while and it seems the best in terms of simplicity …

php dependency-injection circular-dependency di-containers
Lua: How to avoid Circular Requires

Problem How can I avoid the following error from Lua 5.1 when attempting to do a circular require? $ lua main.lua …

lua circular-dependency
Circular dependency in Django Rest Framework serializers

I'm fighting with circular dependencies within serializers in my web API written using Django Rest Framework 3. Whereas I know that …

django serialization django-rest-framework python-import circular-dependency