lib/rails/graphql/helpers/registerable.rb
def register!
            return if abstract? || gql_name.blank?

            raise DuplicatedError, <<~MSG.squish if registered?
              The "#{gql_name}" is already defined, the only way to change its
              definition is by using extensions.
            MSG

            invalid_internal = !spec_object && gql_name.start_with?('__')
            raise NameError, <<~MSG.squish if invalid_internal
              The name "#{gql_name}" is invalid. Only internal objects from the
              spec can have a name starting with "__".
            MSG

            super if defined? super
            GraphQL.type_map.register(self).method(:validate!)
          end
# The process to register a class and it's name on the index
The process to register a class and it's name on the index
The process to register a class and it ' s name on the index
def register!
            return if abstract? || gql_name.blank?
            raise DuplicatedError, <<~MSG.squish if registered?
              The "#{gql_name}" is already defined, the only way to change its
              definition is by using extensions.
            MSG
            invalid_internal = !spec_object && gql_name.start_with?('__')
            raise NameError, <<~MSG.squish if invalid_internal
              The name "#{gql_name}" is invalid. Only internal objects from the
              spec can have a name starting with "__".
            MSG
            super if defined? super
            GraphQL.type_map.register(self).method(:validate!)
          end
def register! return if abstract? || gql_name . blank? raise DuplicatedError , <<~MSG . squish if registered? 
              The " #{ gql_name } " is already defined, the only way to change its
              definition is by using extensions.
             MSG invalid_internal = ! spec_object && gql_name . start_with? ( '__' ) raise NameError , <<~MSG . squish if invalid_internal 
              The name " #{ gql_name } " is invalid. Only internal objects from the
              spec can have a name starting with "__".
             MSG super if defined? super GraphQL . type_map . register ( self ) . method ( :validate! ) end
The process to register a class and it's name on the index
The process to register a class and it ' s name on the index