zarusz / SlimMessageBus

Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
Apache License 2.0
467 stars 78 forks source link

#273 Wrap IOutboxMigrationService resolution in a scope #274

Closed EtherZa closed 2 months ago

EtherZa commented 2 months ago

OutboxSendingTask.MigrateSchema resolves IOutboxMigrationService within a scope to satisfy ISqlOutboxRepository registration.

System.InvalidOperationException: 'Cannot resolve 'SlimMessageBus.Host.Outbox.IOutboxMigrationService' from root provider because it requires scoped service 'SlimMessageBus.Host.Outbox.Sql.ISqlOutboxRepository'.'
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud