Authorization in repository?
Author: munknexCreated Apr 12, 2022Updated Sep 18, 2023
Thanks for your work!
Why repositories do calls such as training.CanUserSeeTraining? Looks like domain logic. We need to test it in all repository implementations instead of testing once on domain (or maybe application level).
Source: ThreeDotsLabs/wild-workouts-go-ddd-example