rebus-org / Rebus.TransactionScopes

:bus: System.Transactions.TransactionScope enlistment helper for Rebus
https://mookid.dk/category/rebus
Other
9 stars 2 forks source link

Rebus.TransactionScopes is not compatible with Rebus 6.0.0 #9

Closed DavidZidar closed 4 years ago

DavidZidar commented 4 years ago

Hi, while trying to upgrade to Rebus I noticed that Rebus.TransactionScopes is not compatiable with version 6 due to a breaking change in the arguments of ITransactionContext.OnCompleted and ITransactionContext.OnDisposed. The delegate signatures have changed from Func<Task> and Action to Func<ITransactionContext, Task> and Action<ITransactionContext> respectively, so a new version of Rebus.TransactionScopes needs to be released with these changes made.

While investigating this issue I noticed two other minor issues as well:

I have prepared a branch in a fork with working fixes for all three issues and could send a pull request unless you want to fix these issues yourselves.

mookid8000 commented 4 years ago

PR is very welcome 🙂