Andre Theilacker
06/06/2023, 3:36 AMAndre Theilacker
06/06/2023, 3:37 AMMarek Kubiczek
06/06/2023, 6:19 AMFeatureStatsReporter
.
I would love to hear some voices here ;)streetsofboston
06/06/2023, 11:31 AMAndre Theilacker
06/06/2023, 6:03 PMAndre Theilacker
06/06/2023, 6:06 PMAnalyticsService
and _Resource_Provider
, but I haven't found a pattern I like to handle stuff like specific HTTP requests yetMarek Kubiczek
06/06/2023, 6:17 PMstreetsofboston
06/06/2023, 6:38 PMcurioustechizen
06/07/2023, 7:23 AMFit the CRUD nature of the Repository pattern
Where did you come across this definition of the Repository pattern? I don't look at a Repository this way. For me a Repository is simply the data layer of my app. That includes this sort of one-shot data operations.
curioustechizen
06/07/2023, 7:26 AMMarek Kubiczek
06/07/2023, 7:30 AMWhere did you come across this definition of the Repository pattern?I think this is how it is described in all the famous books like
Clean Architecture
or DDD
(the blue book) Where repository is described as a collection like api on your domain entities, so you can abstract how they’re stored/send.
At the same time I agree with the examples given by @curioustechizen . All these use cases seem like a valid repositories to me.