module GraphQL::Query::LiteralInput::LiteralKindCoercers::ListLiteral

def self.coerce(value, type, variables)

def self.coerce(value, type, variables)
  if value.is_a?(Array)
    value.map{ |element_ast| LiteralInput.coerce(type.of_type, element_ast, variables) }
  else
    [LiteralInput.coerce(type.of_type, value, variables)]
  end
end