From 8755788277a1677d8832f2c3ec5c0898be573677 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Thu, 22 Feb 2024 11:41:54 -0500 Subject: [PATCH] add subquery description --- src/main/java/io/cryostat/graphql/RootNode.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/io/cryostat/graphql/RootNode.java b/src/main/java/io/cryostat/graphql/RootNode.java index bbcd325cd..b4deaff7f 100644 --- a/src/main/java/io/cryostat/graphql/RootNode.java +++ b/src/main/java/io/cryostat/graphql/RootNode.java @@ -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 descendantTargets( @Source DiscoveryNode discoveryNode, DescendantTargetsFilterInput filter) { // TODO do this filtering at the database query level as much as possible. As is, this will