MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

graphlite/src/schema/integration/runtime_validator.rs:30–37  ·  view source on GitHub ↗

Create a new runtime validator

(catalog_manager: Arc<RwLock<CatalogManager>>)

Source from the content-addressed store, hash-verified

28impl RuntimeValidator {
29 /// Create a new runtime validator
30 pub fn new(catalog_manager: Arc<RwLock<CatalogManager>>) -> Self {
31 let schema_validator = SchemaValidator::new(catalog_manager.clone());
32 Self {
33 catalog_manager,
34 schema_validator,
35 enforcement_config: SchemaEnforcementConfig::default(),
36 }
37 }
38
39 /// Create with specific enforcement configuration
40 #[allow(dead_code)] // ROADMAP v0.4.0 - Configurable runtime validation for different enforcement modes

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected