title: Domain driven design repository implementation in infrastructure layer
body: <p>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.</p>
  
  <p>On the other side, the Domain layer can have references to the infrastructure layer if infrastructure services are used in the domain.</p>
  
  <p>Wouldn't this create a cyclic reference?</p>