module GraphQL::Autotest::ArgumentsFetcher

Constants

DEFAULT
EMPTY
NO_REQUIRED

Public Class Methods

combine(*strategy) click to toggle source
# File lib/graphql/autotest/arguments_fetcher.rb, line 4
def self.combine(*strategy)
  -> (*args, **kwargs) do
    strategy.find do |s|
      r = s.call(*args, **kwargs)
      break r if r
    end
  end
end