class Tapioca::Dsl::Compilers::GraphqlInputObject

def decorate

def decorate
  # Skip methods explicitly defined in code
  arguments = constant.all_argument_definitions.select do |argument|
    method_defined_by_graphql?(argument.keyword.to_s)
  end
  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(argument, constant),
      )
    end
  end
end