VilnaCRM-Org / user-service

Creative Commons Zero v1.0 Universal
5 stars 1 forks source link

Proposal: move `DomainException` abstract class to `Shared` #43

Open paaneko opened 1 month ago

paaneko commented 1 month ago

This change will help avoid code duplications in Domain layers across all BCs and also maintain DRY principle.

Kravalg commented 1 month ago

That is a good idea in general, but in our case, we have domain-specific methods in the domain exception, so we decided to store it in the bounded context