lib/batch_loader/graphql.rb in batch-loader-2.0.0 vs lib/batch_loader/graphql.rb in batch-loader-2.0.1
- old
+ new
@@ -52,11 +52,11 @@
def initialize(item = nil)
@batch_loader = BatchLoader.for(item)
end
- def batch(*kwargs, &block)
- @batch_loader.batch(*kwargs, &block)
+ def batch(**kwargs, &block)
+ @batch_loader.batch(**kwargs, &block)
self
end
def sync
@batch_loader.__sync