Added possibility to filter notes on the GraphQL resolver
What does this MR do and why?
This MR adds the possibility to filter notes on the GraphQL resolver
Related to #426016
Screenshots or screen recordings
N.A.
How to set up and validate locally
- Go to GraphQL explorer (
http://127.0.0.1:3000/-/graphql-explorer
) - Run this query
{
project(fullPath: "flightjs/Flight") {
issues {
nodes {
notes(filter: ALL_NOTES) {
count
nodes {
id
body
}
}
}
}
}
}
- Change to
ONLY_ACTIVITY
orONLY_COMMENTS
and make sure they behave as supposed to
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.