3 ms·
>> If multiple apps directly talk to the database where the domain logic is in the service layer, you will end up with code duplication and hard to trace bugs
by rufus_foreman 4y ago
>> If multiple apps directly talk to the database where the domain logic is in the service layer, you will end up with code duplication and hard to trace bugs
This is more common than putting it in a service in my experience. I haven't seen it done in the database in a new application since the 90's.