lib/rails/graphql/request/helpers/directives.rb
# Get and cache all the arguments for this given +directive+
Get and cache all the arguments for this given +directive+
Get and cache all the arguments for this given + directive +
def directive_arguments(directive)
            request.cache(:arguments)[directive] ||= begin
              result = directive.all_arguments
              result.each_value.map(&:gql_name).zip(result.each_value).to_h
            end
          end
def directive_arguments ( directive ) request . cache ( :arguments ) [ directive ] ||= begin result = directive . all_arguments result . each_value . map ( & :gql_name ) . zip ( result . each_value ) . to_h end end
Get and cache all the arguments for this given +directive+
Get and cache all the arguments for this given + directive +
directive