Add an actor to FF check on work item type resolver
What does this MR do and why?
Adds an actor to the feature flag check on the work item types resolver
How to set up and validate locally
- Run
bundle exec rails console
- Run
project = Project.find_by_full_path('flightjs/Flight')
- Run
Feature.enable(:work_items, project)
- Execute a GraphQL query like:
{
project(fullPath: "flightjs/Flight") {
workItemTypes {
nodes {
name
iconName
id
}
}
}
}
-
workItemTypes
should contain a list of work item types. - Doing the same for another project should return
null
in theworkItemTypes
field. - The same should be true for the groups query
{
group(fullPath: "flightjs") {
workItemTypes {
nodes {
name
iconName
id
}
}
}
}
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 #350200 (closed)
Edited by Mario Celi