Skip to content

Remove graphql enum alphabetical sort

Jonathan Schafer requested to merge unsort_graphql_enums into master

What does this MR do?

This MR removes the sort_by_name from enums in the GraphQL documentation. Most of the time, enumerated types are in a specific order relevant to their type (https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/graphql/types/access_level_enum.rb for example). These enumerations should stay in their logical order and not their alphabetical order in the documentation (for example, https://docs.gitlab.com/ee/api/graphql/reference/#alertmanagementseverity)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Merge request reports