batch-loader icon indicating copy to clipboard operation
batch-loader copied to clipboard

Additional Ruby 3 fixes relating to kwarg changes

Open jamesbrooks opened this issue 3 years ago • 0 comments

Fixes some failures when using Ruby 3 in situations where it appears a few layers of delegation occur inside other libraries (in this case I was having failures using batch-loader in conjunction with view_component or dry-initializer).

This change passes the current tests on both ruby 3 and previous ruby versions. Sorry for not being able to include a test directly to replicate this issue I haven't dug into exactly what those other gems are doing to trigger this issue but the changes here should be innocent enough to not cause too much alarm I hope! :)

jamesbrooks avatar Aug 29 '21 23:08 jamesbrooks