Skip to content

Mark pipelines fields as deprecated in the package related GraphQL types

Follow https://docs.gitlab.com/ee/development/api_graphql_styleguide.html#deprecating-fields-arguments-and-enum-values to deprecate the pipelines field in those types:

  • app/graphql/types/packages/package_type.rb
  • app/graphql/types/packages/package_details_type.rb

This is step 1 of:

  1. 👉 Mark pipelines fields as deprecated in the package related GraphQL types.
  2. Add build_infos field to package related GraphQL types.
  3. Add a new GraphQL query to get Pipeline data given a global id.
  4. Announce the removals in the release post.
  5. Update the frontend to use (2.) and (3.) and stop reading the pipelines field.
  6. Remove the pipelines fields from the package related GraphQL types.