Good day!
I have a part of a legacy code, where transactions declared like that:
transaction = Dry.Transaction(container) do step :one, "operations.one" step :two, "operations.two" end
But after updating it doesn’t work.
As described there I should create a transaction-class and include my container as a module. But in my case, I have several containers with different implementations of same methods. And one transaction for starting these methods in the same queue. So is there any way to pass container to transaction dynamically, or I should just create many identical transactions with different containers?