3 ms·
I 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 us
by zerbinxx 3y ago
I 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