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
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
Edited by Luke Duncalfe