Skip to content

Commit

Permalink
add subquery description
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Mar 20, 2024
1 parent 8b13006 commit cd31427
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/cryostat/graphql/RootNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public DiscoveryNode getRootNode() {
return DiscoveryNode.getUniverse();
}

@Description(
"Get target nodes that are descendants of this node. That is, get the set of leaf nodes"
+ " from anywhere below this node's subtree.")
public List<DiscoveryNode> descendantTargets(
@Source DiscoveryNode discoveryNode, DescendantTargetsFilterInput filter) {
// TODO do this filtering at the database query level as much as possible. As is, this will
Expand Down

0 comments on commit cd31427

Please sign in to comment.