Skip to content

GraphQL endpoint for IDE code suggestions enabled

What does this MR do and why?

GraphQL endpoint for IDE code suggestions enabled

Related to #412448

Screenshots or screen recordings

image

How to set up and validate locally

  1. When logged on to your local GDK, go to http://gdk.test:3000/-/graphql-explorer
  2. Run the following query
{
  currentUser {
    id
    name
    username
    ide {
      codeSuggestionsEnabled
    }
  }
}

You should get

{
  "data": {
    "currentUser": {
      "id": "gid://gitlab/User/1",
      "name": "Administrator",
      "username": "root",
      "ide": {
        "codeSuggestionsEnabled": false
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alper Akgun

Merge request reports