Add deletion related fields to projects GraphQL query

What does this MR do and why?

Add isSelfDeletionInProgress and isSelfDeletionScheduled fields. Used to determine the deletion state of projects.

References

How to set up and validate locally

Run the following in https://gdk.test:3000/-/graphql-explorer:

{
  projects(first: 2) {
    nodes {
      isSelfDeletionInProgress
      isSelfDeletionScheduled
    }
  }
}

You should get an output similar to:

{
  "data": {
    "projects": {
      "nodes": [
        {
          "isSelfDeletionInProgress": false,
          "isSelfDeletionScheduled": false
        },
        {
          "isSelfDeletionInProgress": false,
          "isSelfDeletionScheduled": false
        }
      ]
    }
  },
  "correlationId": "01K1WTX6KR90136KT7R7PJP5HD"
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #556521 (closed)

Edited by Abdul Wadood

Merge request reports

Loading