I got a question on dependencies of DDD layered architecture. If the Repository implementation is in the infrastructure layer, that means that infrastructure layer has a dependency on domain layer because Entities will be referenced in the Repository implementation.
On the other side, the Domain layer can have references to the infrastructure layer if infrastructure services are used in the domain.
Wouldn't this create a cyclic reference?