Skip to content

Commit

Permalink
Merge pull request #94 from engwan/fix-private-method-error
Browse files Browse the repository at this point in the history
Fix wrap_with_warning call for new tracing module
  • Loading branch information
exAspArk authored Apr 24, 2024
2 parents d4adefe + aeaad97 commit cfe4958
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/batch_loader/graphql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ 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|
Expand Down

0 comments on commit cfe4958

Please sign in to comment.