After a week of learning about Domain Driven Design 10+ hours a day I started feeling like I was beginning to understand it pretty well until I read this article today:
http://blog.fedecarg.com/2009/03/15/domain-driven-design-the-repository/
The author of that article is saying you inject the Repository into the Domain object and that did not make any sense to me.
I'm no expert on this subject but I think he is wrong but I would like some input from some people here on whether it is right or wrong to inject a Repository into a Domain Object.
With all my reading in the last week everyday as I read another article and another they were all sounding the same to me (which is a good thing) until I saw the article I posted above, it make me think twice if my picture of this pattern is incorrect.
Are you or are you not supposed to inject a Repository?