You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: helper.rb
    path of file: ./repos/meshery/docs/v0.5/lib/tasks
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
require 'graphql-docs'
require 'active_support/core_ext/string/strip'

module Utils
  module StrongMemoize
    # Instead of writing patterns like this
    
      def deprecations
        strong_memoize(:deprecations) do
          mapping = {}

          schema.types.each do |type_name, type|
            next unless type.kind.fields?

            type.fields.each do |field_name, field|
              mapping["#{type_name}.#{field_name}"] = field.try(:deprecation)
              field.arguments.each do |arg_name, arg|
                mapping["#{type_name}.#{field_name}.#{arg_name}"] = arg.try(:deprecation)
              end
            end
          end

          mapping.compact
        end
      end