Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] implicit dependency from iddd_agilepm to iddd_identityaccess #34

Open
liweinan0423 opened this issue Jun 11, 2019 · 1 comment

Comments

@liweinan0423
Copy link

The class com.saasovation.agilepm.port.adapter.messaging.rabbitmq.RabbitMQTeamMemberEmailAddressChangedListener is listening to the event com.saasovation.identityaccess.domain.model.identity.PersonContactInformationChanged which is fired from the iddd_identityaccess module.

I think it's an implicit dependency between the two modules that actually make this two modules coupled

I am not sure if there are any better approach to eliminate this kind of implicit dependency

@itsmoonrack
Copy link

itsmoonrack commented Jun 25, 2022

@liweinan0423 the coupling is not an hard dependency, agilepm is downstream to iam bounded context, that is completely fine.

In fact, agilepm needs this event to update its data accordingly.

Also they use loose reader here, which does read the fields of interest on the event, and does not require an actual dependency to the object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants