Skip to content

Add nodes to recursion analyzer IGNORED_FIELDS

What does this MR do?

This MR adds nodes to RecursionAnalyzer::IGNORED_FIELDS.

In addition to field -> edges -> node, we're also able to structure queries using the shorter field -> nodes:

{
  project(fullPath: "root/my-project") {
    id
    issues {
      nodes {
        discussions {
          nodes {
            notes {
              nodes {
                id
              }
            }
          }
        }
      }
    }
  }
}

The above query currently triggers the recursion analyzer to fail the query, as it detects a recursion of nodes.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Luke Duncalfe

Merge request reports