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

Add an ability to set the ActorId in BlackBoxBoundedContext #1226

Closed
ndolhii opened this issue Jan 22, 2020 · 0 comments · Fixed by #1242
Closed

Add an ability to set the ActorId in BlackBoxBoundedContext #1226

ndolhii opened this issue Jan 22, 2020 · 0 comments · Fixed by #1242

Comments

@ndolhii
Copy link

ndolhii commented Jan 22, 2020

Currently, the BlackBoxBoundedContext sets the ActorId on its own and we can't modify it.

But for testing purposes, we may need to emulate commands from different actors.

The way to achieve this is to add an ability to set the desired ActorId to the BlackBoxBoundedContext. From my perspective the API can be the following:

context().receivesCommandFrom(UserId actor, CommandMessage c);
@ndolhii ndolhii changed the title Add an ability to set the ActorId in BBBC Add an ability to set the ActorId in BlackBoxBoundedContext Jan 23, 2020
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

Successfully merging a pull request may close this issue.

1 participant