Skip to content

Commit aeaad97

Browse files
author
Heinrich Lee Yu
committed
Fix wrap_with_warning call for new tracing module
When using the new tracing module, we call wrap_with_warning on the class so we should not make this a private method
1 parent d4adefe commit aeaad97

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/batch_loader/graphql.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def self.wrap_with_warning(batch_loader)
4545
warn "DEPRECATION WARNING: using BatchLoader.for in GraphQL is deprecated. Use BatchLoader::GraphQL.for instead or return BatchLoader::GraphQL.wrap from your resolver."
4646
wrap(batch_loader)
4747
end
48-
private_class_method :wrap_with_warning
4948

5049
def self.wrap(batch_loader)
5150
BatchLoader::GraphQL.new.tap do |graphql|

0 commit comments

Comments
 (0)