lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.10.0 vs lib/tapioca/dsl/compilers/graphql_input_object.rb in tapioca-0.10.1

- old
+ new

@@ -45,15 +45,13 @@ sig { override.void } def decorate arguments = constant.all_argument_definitions return if arguments.empty? - graphql_type_helper = Helpers::GraphqlTypeHelper.new - root.create_path(constant) do |input_object| arguments.each do |argument| name = argument.keyword.to_s - input_object.create_method(name, return_type: graphql_type_helper.type_for(argument.type)) + input_object.create_method(name, return_type: Helpers::GraphqlTypeHelper.type_for(argument.type)) end end end class << self