Skip to content

Fix IoC for outboxes#3824

Merged
dhickie merged 3 commits into
BrighterCommand:masterfrom
dhickie:fix-outbox-ioc
Oct 3, 2025
Merged

Fix IoC for outboxes#3824
dhickie merged 3 commits into
BrighterCommand:masterfrom
dhickie:fix-outbox-ioc

Conversation

@dhickie

@dhickie dhickie commented Sep 30, 2025

Copy link
Copy Markdown
Contributor

The IoC for registering outboxes is currently broken. This fixes it by ensuring it's looking for the correct interface type on the provided outbox implementation.

The IoC for registering outboxes is currently broken. This fixes it by ensuring  it's looking for the correct interface type on the provided outbox implementation.
codescene-delta-analysis[bot]

This comment was marked as outdated.

The test that tests the setup of IoC when using an external bus is currently broken (and has been incorrectly passing). It tries to use a stubbed SQL transaction provider with the default InMemoryOutbox, which requires CommitableTransactions instead. As a result, setup fails as the two are incompatible.
codescene-delta-analysis[bot]

This comment was marked as outdated.

@codescene-delta-analysis codescene-delta-analysis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gates Passed
4 Quality Gates Passed

See analysis details in CodeScene

Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants