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

Method with_config

graphlite/src/schema/validator.rs:68–76  ·  view source on GitHub ↗

ROADMAP v0.4.0 - Configurable validation for different use cases

(
        catalog_manager: Arc<RwLock<CatalogManager>>,
        allow_unknown_properties: bool,
    )

Source from the content-addressed store, hash-verified

66 /// Create a new schema validator with custom configuration
67 #[allow(dead_code)] // ROADMAP v0.4.0 - Configurable validation for different use cases
68 pub fn with_config(
69 catalog_manager: Arc<RwLock<CatalogManager>>,
70 allow_unknown_properties: bool,
71 ) -> Self {
72 Self {
73 catalog_manager,
74 allow_unknown_properties,
75 }
76 }
77
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected