ROADMAP v0.4.0 - Node validation for graph type DDL enforcement at INSERT time
(
&self,
graph_name: &str,
label: &str,
properties: &HashMap<String, Value>,
)
| 78 | /// Validate that a node matches the graph type schema (with graph name) |
| 79 | #[allow(dead_code)] // ROADMAP v0.4.0 - Node validation for graph type DDL enforcement at INSERT time |
| 80 | pub fn validate_node( |
| 81 | &self, |
| 82 | graph_name: &str, |
| 83 | label: &str, |
| 84 | properties: &HashMap<String, Value>, |
| 85 | ) -> Result<(), ValidationError> { |
| 86 | // Get graph type for graph |
| 87 | let graph_type = self.get_graph_type_for_graph(graph_name)?; |
| 88 | self.validate_node_with_type(&graph_type, label, properties) |
| 89 | } |
| 90 | |
| 91 | /// Validate that a node matches the graph type schema (with graph type directly) |
| 92 | pub fn validate_node_with_type( |
nothing calls this directly
no test coverage detected