lib/batch_loader/graphql.rb in batch-loader-1.5.0 vs lib/batch_loader/graphql.rb in batch-loader-2.0.0

- old
+ new

@@ -52,11 +52,11 @@ def initialize(item = nil) @batch_loader = BatchLoader.for(item) end - def batch(*args, &block) - @batch_loader.batch(*args, &block) + def batch(*kwargs, &block) + @batch_loader.batch(*kwargs, &block) self end def sync @batch_loader.__sync