Take for example I have 2 bounded contexts:
- Identity Context
- Issue Context
Both follow a clean architecture i.e. having the following layers:
Now my question is, let’s suppose Identity context and Issue context requires
EmailService to send various emails. Where one should put the implementation of this service? Do I have to create implementations of this service in both infrastructure layers or is there a way in DDD where I can put the common implementation?