Skip to content

Allow staring and unstaring of a Project via GraphQL

What does this MR do and why?

Allow un/staring of a project via GraphQL.

How to set up and validate locally

  1. Visit the GraphQL explorer
  2. Run a mutation to un/set a star on a project, for example
    mutation setStarStatus($projectId: ProjectID!, $starred: Boolean!) {
      starProject(input: { projectId: $projectId, starred: $starred }) {
        count
      }
    }
  3. Check that the project has now been starred

MR acceptance checklist

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

Related to #431567 (closed)

Merge request reports