rebus-org / Rebus.ServiceProvider

:bus: Microsoft Extensions Dependency Injection container adapter for Rebus
https://mookid.dk/category/rebus
Other
65 stars 32 forks source link

Creating new scope before resolving handlers. #12

Closed rosieks closed 6 years ago

rosieks commented 6 years ago

This PR solves issues #11. Before resolving all handlers for given message it creates new scope. This scope is then disposed as part of transactionContext disposing.


Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

mookid8000 commented 6 years ago

it's out in 4.0.0-b07 😄