lib/rails/graphql/request.rb
def find_strategy!
          klass = schema.config.request_strategies.lazy.map(&:constantize).select do |k|
            k.can_resolve?(self)
          end.max_by(&:priority)
          build(klass, self)
        end
# Find the best strategy to resolve the request
Find the best strategy to resolve the request
Find the best strategy to resolve the request
def find_strategy!
          klass = schema.config.request_strategies.lazy.map(&:constantize).select do |k|
            k.can_resolve?(self)
          end.max_by(&:priority)
          build(klass, self)
        end
def find_strategy! klass = schema . config . request_strategies . lazy . map ( & :constantize ) . select do | k | k . can_resolve? ( self ) end . max_by ( & :priority ) build ( klass , self ) end
Find the best strategy to resolve the request
Find the best strategy to resolve the request