You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the batch loader is giving me some warnings now with 2.7.1.
rvm/gems/ruby-2.7.1/gems/batch-loader-1.5.0/lib/batch_loader/graphql.rb:58: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
Looks like this method needs a tweak...
def batch(*args, &block)
@batch_loader.batch(*args, &block)
self
end
Using the batch loader is giving me some warnings now with 2.7.1.
rvm/gems/ruby-2.7.1/gems/batch-loader-1.5.0/lib/batch_loader/graphql.rb:58: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
Looks like this method needs a tweak...
def batch(*args, &block)
@batch_loader.batch(*args, &block)
self
end
More notes on potential fix.
https://bloggie.io/@kinopyo/how-to-fix-ruby-2-7-warning-using-the-last-argument-as-keyword-parameters-is-deprecated
The text was updated successfully, but these errors were encountered: