3 ms·
I use services, but they are not a random grab-bag of methods. What do you even have in mind when you say this?
by pmichaud 3y ago
I use services, but they are not a random grab-bag of methods. What do you even have in mind when you say this?
- zerbinxx 3y agoI too use services and they are where the business logic lives. In the case of “create user” they’re basically no-op repository methods, in the case of “sync user profile data” they may invoke storage or external service calls in a certain business-logical order, but they map exactly to the applicable domain(s) - putting user-profile methods in the user service is when you end up with muddled service boundaries