I got confused about how to define restricted contexts, where there are common problems between them, and how to represent this using domain objects.
For example: The client has many products in the context of the client. The company has a list of products in the context of the company.
Thus, the client is managed through the context of the client, and the company through the context of the company
Given that contexts are in different modules.
If I want to provide company address information for a product, how should this be handled?
Am I referring to a module containing the Company context in the module containing the client, or am I creating a company object in the client context specifically designed for use in interacting with customers?
thanks
source share