lib/rails/graphql/request.rb
# Get and cache a sanitized version of the arguments
Get and cache a sanitized version of the arguments
Get and cache a sanitized version of the arguments
def sanitized_arguments
        return {} unless args.each_pair.any?
        cache(:sanitized_arguments) do
          args.to_h.transform_keys { |key| key.to_s.camelize(:lower) }
        end
      end
def sanitized_arguments return { } unless args . each_pair . any? cache ( :sanitized_arguments ) do args . to_h . transform_keys { | key | key . to_s . camelize ( :lower ) } end end
Get and cache a sanitized version of the arguments
Get and cache a sanitized version of the arguments