You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a domain object in a CML model it is currently possible to reference any other domain object.
I suggest to implement a validator which ensures that references to another Bounded Context are only possible if the referenced domain object is part of an exposed Aggregate of a corresponding Context Map relationship (exposed Aggregates). In other words: a domain object reference shall only be possible if there is a relationship on the Context Map that makes the referenced object available to the context containing the reference.
(references should also be possible if there is a Shared Kernel or Partnership relationship between the contexts)
The text was updated successfully, but these errors were encountered:
From a domain object in a CML model it is currently possible to reference any other domain object.
I suggest to implement a validator which ensures that references to another Bounded Context are only possible if the referenced domain object is part of an exposed Aggregate of a corresponding Context Map relationship (exposed Aggregates). In other words: a domain object reference shall only be possible if there is a relationship on the Context Map that makes the referenced object available to the context containing the reference.
(references should also be possible if there is a Shared Kernel or Partnership relationship between the contexts)
The text was updated successfully, but these errors were encountered: