Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 2
    I would just say that I cannot agree with what the quote says is correct. While I see it work in some limited case, you correctly point out that edge cases exist where it doesn't apply. Commented Feb 9, 2020 at 19:29
  • 2
    Don’t pass that repository into your domain. Make a handler/service which gets data from the repository, converts it to domain objects and invokes methods on those objects. The domain methods you invoke can be synchronous. Commented Feb 9, 2020 at 23:04