class GraphQL::EnumType::EnumValue

Created with the ‘value` helper
A value within an {EnumType}

def graphql_name

def graphql_name
  name
end

def name=(new_name)

def name=(new_name)
  # Validate that the name is correct
  GraphQL::NameValidator.validate!(new_name)
  @name = new_name
end

def type_class

def type_class
  metadata[:type_class]
end