lib/graphql/query/literal_input.rb in graphql-0.10.9 vs lib/graphql/query/literal_input.rb in graphql-0.11.0

- old
+ new

@@ -46,10 +46,10 @@ end module InputObjectLiteral def self.coerce(value, type, variables) hash = {} - value.pairs.each do |arg| + value.arguments.each do |arg| field_type = type.input_fields[arg.name].type hash[arg.name] = LiteralInput.coerce(field_type, arg.value, variables) end type.input_fields.each do |arg_name, arg_defn| if hash[arg_name].nil?