lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.11.15 vs lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.11.16

- old
+ new

@@ -53,10 +53,13 @@ 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, constant)) + input_object.create_method( + name, + return_type: Helpers::GraphqlTypeHelper.type_for_argument(argument, constant), + ) end end end private