Jul 24, 2017 · 1 min read
First off all thank you for your article. But I wander about your initial statement
`It’s important to note the word ‘accessing’ in this definition. Theoretically, this implies that your repositories should only be responsible for encapsulating the logic and code for retrieval operations.`
Why this implication? ‘Accessing’ says nothing about the kind of operation itself. Nothing about read or write.
Here you can see, that your assumption can not be correct https://martinfowler.com/eaaCatalog/repository.html
There you can read: `Objects can be added to and removed from the Repository`