lib/rails/graphql/field.rb
# Checks if the definition of the field is valid.
Checks if the definition of the field is valid.
Checks if the definition of the field is valid .
def validate!(*)
        super if defined? super
        raise NameError, <<~MSG.squish if gql_name.start_with?('__') && !internal?
          The name "#{gql_name}" is invalid. Only internal fields from the
          spec can have a name starting with "__".
        MSG
      end
def validate! ( * ) super if defined? super raise NameError , <<~MSG . squish if gql_name . start_with? ( '__' ) && ! internal? 
          The name " #{ gql_name } " is invalid. Only internal fields from the
          spec can have a name starting with "__".
         MSG end
Checks if the definition of the field is valid.
Checks if the definition of the field is valid .