Skip to content

Commit 3b16632

Browse files
committed
Docs
1 parent 4e88073 commit 3b16632

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/router/src/pipeline/query_plan.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use hive_router_query_planner::planner::plan_nodes::QueryPlan;
99
use hive_router_query_planner::planner::PlannerError;
1010
use hive_router_query_planner::utils::cancellation::CancellationToken;
1111
use ntex::web::HttpRequest;
12+
use tracing::debug;
1213
use xxhash_rust::xxh3::Xxh3;
1314

1415
#[inline]
@@ -74,6 +75,7 @@ fn get_plan(
7475
let is_pure_introspection = filtered_operation_for_plan.selection_set.is_empty()
7576
&& normalized_operation.operation_for_introspection.is_some();
7677
if is_pure_introspection {
78+
debug!("No need for a plan, as the incoming query only involves introspection fields");
7779
return Ok(QueryPlan {
7880
kind: "QueryPlan".to_string(),
7981
node: None,

0 commit comments

Comments
 (0)