lib/batch_loader/graphql.rb in batch-loader-2.0.4 vs lib/batch_loader/graphql.rb in batch-loader-2.0.5

- old
+ new

@@ -43,10 +43,9 @@ def self.wrap_with_warning(batch_loader) warn "DEPRECATION WARNING: using BatchLoader.for in GraphQL is deprecated. Use BatchLoader::GraphQL.for instead or return BatchLoader::GraphQL.wrap from your resolver." wrap(batch_loader) end - private_class_method :wrap_with_warning def self.wrap(batch_loader) BatchLoader::GraphQL.new.tap do |graphql| graphql.batch_loader = batch_loader end