docs/lib/tasks/helper.rb
# We ignore the built-in enum types, and sort values by name
We ignore the built-in enum types, and sort values by name
We ignore the built - in enum types and sort values by name
def enums
        graphql_enum_types
          .reject { |type| type[:values].empty? }
          .reject { |enum_type| enum_type[:name].start_with?('__') }
          .map { |type| type.merge(values: sorted_by_name(type[:values])) }
      end
def enums graphql_enum_types . reject { | type | type [ :values ] . empty? } . reject { | enum_type | enum_type [ :name ] . start_with? ( '__' ) } . map { | type | type . merge ( values : sorted_by_name ( type [ :values ] ) ) } end
We ignore the built-in enum types, and sort values by name
We ignore the built - in enum types and sort values by name