lib/rails/graphql/type_map.rb
def ensure_base_class!(key)
          raise ArgumentError, <<~MSG.squish unless base_classes.keys.include?(key)
            Unsupported base class "#{key.inspect}".
          MSG
        end
# Make sure that the given key is a valid base class key
Make sure that the given key is a valid base class key
Make sure that the given key is a valid base class key
def ensure_base_class!(key)
          raise ArgumentError, <<~MSG.squish unless base_classes.keys.include?(key)
            Unsupported base class "#{key.inspect}".
          MSG
        end
def ensure_base_class! ( key ) raise ArgumentError , <<~MSG . squish unless base_classes . keys . include? ( key ) 
            Unsupported base class " #{ key . inspect } ".
           MSG end
Make sure that the given key is a valid base class key
Make sure that the given key is a valid base class key
key