We really love and depend on dry-transaction for a few of our features at work. Thanks for all the work you have put into it.
I’m working on our Ruby 3.1 upgrade and noticed my controllers that depend on this are all failing. We have some code that looks like this:
class MyStepAdapter < Dry::Transaction::StepAdapters def initialize(input) # a little logic that we need # and then: super end end
And when running Rails with Ruby 3.1, I get this error:
Failure/Error: super ArgumentError: wrong number of arguments (given 1, expected 0) # /usr/local/bundle/gems/dry-transaction-0.13.2/lib/dry/transaction/operation_resolver.rb:8:in `block (2 levels) in initialize'
I wonder if you have any plans to look into it or if I need to look into other options. Or could I be doing something wrong?
Thank you for your time reading this.