Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszkuc committed Feb 11, 2025
1 parent 30daeb0 commit a32576c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apollo-federation/src/error/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,9 @@ impl SingleFederationError {
ErrorCode::InterfaceKeyMissingImplementationType
}
SingleFederationError::DeferredSubscriptionUnsupported => ErrorCode::Internal,
SingleFederationError::QueryPlanComplexityExceeded { .. } => ErrorCode::QueryPlanComplexityExceededError,
SingleFederationError::QueryPlanComplexityExceeded { .. } => {
ErrorCode::QueryPlanComplexityExceededError
}
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion apollo-router/src/query_planner/query_planner_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ impl QueryPlannerService {
formatted_query_plan: Some(Arc::new(plan.to_string())),
query_plan_root_node: root_node.map(Arc::new),
evaluated_plan_count: plan.statistics.evaluated_plan_count.clone().into_inner() as u64,
evaluated_plan_options: plan.statistics.evaluated_plan_options.clone().into_inner() as u64,
evaluated_plan_options: plan.statistics.evaluated_plan_options.clone().into_inner()
as u64,
})
}

Expand Down

0 comments on commit a32576c

Please sign in to comment.