Fix getting of epic board parent
What does this MR do and why?
When checking feature flag in BoardItemFilterable module we need to get board's resoruce parent (project or group), but for epic boards resolvers we need to refer to use epic_board (instead of board).
Related to #382969 (comment 1271412420)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Enable or filtering
Feature.enable(:or_issuable_queries)
- Sample query
query {
group(fullPath: "flightjs") {
id
epicBoards {
nodes {
id
lists(epicFilters: {or: {labelName: ["foo"]}}) {
nodes {
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.
Edited by Vitali Tatarintev