Draft: Spike seat assignments GraphQL API

What does this MR do and why?

Spike seat assignments GraphQL API

Create a rough draft of the GraphQL API for seat assignments

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/563130+

References

Sample query:

{
  group(fullPath:"solar-system-group") {
    id
    name
    seatAssignments {
      count
      nodes {
        seatType
        user {
          name
          username
          avatarUrl
        }
      }
    }
  }

  seatAssignments(userId:"gid://gitlab/User/60") {
    count
    nodes {
      seatType
      user {
        name
      }
      namespace {
        name
      }
    }
  }
}

Screenshots or screen recordings

Before After

How to set up and validate locally

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.

Edited by Jason Goodman

Merge request reports

Loading