Skip to content

allow handlers to depend on the CommandBus#19

Merged
mlebkowski merged 1 commit intomainfrom
feature/messenger
Feb 23, 2026
Merged

allow handlers to depend on the CommandBus#19
mlebkowski merged 1 commit intomainfrom
feature/messenger

Conversation

@mlebkowski
Copy link
Member

There was one last place where the command bus had a hard dependency on all of the handlers. By resolving them at runtime from the container, this allows a „circular” dependency, i.e. for the handlers to depend on the command bus.

Does this PR affect any security-relevant code?: no

Please consider Conventional Comments when commenting on PRs

@mlebkowski mlebkowski merged commit 04d0ae3 into main Feb 23, 2026
1 check passed
@mlebkowski mlebkowski deleted the feature/messenger branch February 23, 2026 14:02
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 this pull request may close these issues.

1 participant