How to manage two coupled aggregates in DDD?
问题 I am developing Electric Vehicle Charging Station Management System, which is connected to several Charging Station s, and I am in an impasse. In this domain, I've come up with an aggregate for the Charging Station , which includes the internal state of the Charging Station (whether it is connected, the internal state of its Connectors). It has a UnlockConnector method, for which, to accurately respect its name(and not be anemic) it sends the request to the respective Charging Station , as it