lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.11.13 vs lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.11.14
- old
+ new
@@ -53,10 +53,10 @@
return if arguments.empty?
root.create_path(constant) do |input_object|
arguments.each do |argument|
name = argument.keyword.to_s
- input_object.create_method(name, return_type: Helpers::GraphqlTypeHelper.type_for(argument))
+ input_object.create_method(name, return_type: Helpers::GraphqlTypeHelper.type_for(argument, constant))
end
end
end
private