Skip to content

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

  1. Go to GraphQL explorer (http://127.0.0.1:3000/-/graphql-explorer)
  2. Run this query
{
  project(fullPath: "flightjs/Flight") {
    issues {
      nodes {
        notes(filter: ALL_NOTES) {
          count
          nodes {
            id
            body
          }
        }
      }
    }
  }
}
  1. Change to ONLY_ACTIVITY or ONLY_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.

Merge request reports