refactor(graph): refactor the Knowledge Graph to include configs check, while eligibility analysis (#4687)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Amisha Prabhat
2024-05-21 19:44:45 +05:30
committed by GitHub
parent 70612e4c6f
commit a917776bb8
19 changed files with 541 additions and 34 deletions

View File

@ -12,6 +12,7 @@ use crate::{
pub mod euclid_graph_prelude {
pub use hyperswitch_constraint_graph as cgraph;
pub use rustc_hash::{FxHashMap, FxHashSet};
pub use strum::EnumIter;
pub use crate::{
dssa::graph::*,
@ -112,6 +113,7 @@ impl<V: cgraph::ValueNode> AnalysisError<V> {
}
}
#[derive(Debug)]
pub struct AnalysisContext {
keywise_values: FxHashMap<dir::DirKey, FxHashSet<dir::DirValue>>,
}