Add author to GraphQL WorkItem Type
What does this MR do and why?
Adds new author
field to the WorkItem
GraphQL type so we can query information from the user that created the work item through the GraphQL API.
Adding this new field as alpha
as we might want to change how we expose this field in the future. Discussion on the topic at #339777 (comment 1252683756)
How to set up and validate locally
- Go to GraphiQL in your local install at http://127.0.0.1:3000/-/graphql-explorer
- Run a query like:
{
workItem(id: "gid://gitlab/WorkItem/558") {
id
title
author {
id
username
}
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #339777 (closed)
Edited by Mario Celi