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.

A circular reference has been detected when serializing the object of class "App\Entity\User" (configured limit: 1)

I am faced with a problem that gives me this error: A circular reference has been detected when serializing the …

symfony serialization reference circular-dependency depth
Circular References in my C# projects

I have the following situation: A project MyCompany.MyProject.Domain which contains my domain model, and partial classes (such as …

c# circular-dependency
Resolving circular dependencies by linking the same library twice?

We have a code base broken up into static libraries. Unfortunately, the libraries have circular dependencies; e.g., libfoo.a …

c++ linux linker ld circular-dependency
Resolving circular dependencies with dependency injection

I've seen several articles on various websites that propose resolving circular dependencies between .NET assemblies by using dependency injection. This …

.net architecture dependency-injection circular-dependency
Circular import with structs

I have a project with several modules in Go. I am having problem with circular imports because of the scenario …

go circular-dependency
Circular References Cause Memory Leak?

I'm trying to run down a memory leak in a windows forms application. I'm looking now at a form which …

.net memory memory-management memory-leaks circular-dependency
C++, two classes with mutual needs

I have converted a scientific simulation platform from Java into C++. I have tried to keep the design as much …

c++ circular-dependency
Python module dependency

Ok I have two modules, each containing a class, the problem is their classes reference each other. Lets say for …

python module circular-dependency
ClassCircularityError thrown by ClassLoader.defineClass

I'm loading classes using a custom class loader. For the most part, everything works, but sometimes when I load particularly …

java circular-dependency classloader
Resolving a Circular Dependency between Template Classes

I have two classes, Foo<T> and Bar<T>, derived from Base. Each overrides a method …

c++ templates circular-dependency