Skip to content

First Class Deprecations for GraphQL

Alex Kalderimis requested to merge ajk-graphql-fancy-deprecations into master

What does this MR do?

This MR makes deprecation information a first class property of GraphQL types (fields, arguments and enum members). Rather than affecting the description and otherwise being erased, deprecation information is preserved and stored on the deprecated element, so it can be retrieved later.

This enables better handling in the generated GraphQL docs. Other work builds on this. See !55944 (merged) and !56704 (merged)

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
Edited by Alex Kalderimis

Merge request reports