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

Same event name in different contexts #145

Closed
bikerp opened this issue Jul 2, 2019 · 2 comments
Closed

Same event name in different contexts #145

bikerp opened this issue Jul 2, 2019 · 2 comments

Comments

@bikerp
Copy link
Contributor

bikerp commented Jul 2, 2019

Hi,

let's say I have two different contexts: Books and Services. Both contexts contains Order aggregate.
Is it a common practice that same event name exists in different contexts i.e. OrderAccepted? Or the event name should be unique i.e. BookOrderAccepted and ServiceOrderAccepted

Thanks

Pavel

@adrai
Copy link
Contributor

adrai commented Jul 2, 2019

I don’t know if it is common, but yes. It’s totally ok.

@bikerp
Copy link
Contributor Author

bikerp commented Jul 3, 2019

@adrai Thanks

@bikerp bikerp closed this as completed Jul 3, 2019
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