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

Method should_validate_write

graphlite/src/schema/enforcement/config.rs:93–95  ·  view source on GitHub ↗

ROADMAP v0.4.0 - Write validation check for INSERT/UPDATE operations

(&self)

Source from the content-addressed store, hash-verified

91 /// Check if validation should be performed for write operations
92 #[allow(dead_code)] // ROADMAP v0.4.0 - Write validation check for INSERT/UPDATE operations
93 pub fn should_validate_write(&self) -> bool {
94 self.mode != SchemaEnforcementMode::Disabled && self.validate_on_write
95 }
96
97 /// Check if validation should be performed for read operations
98 #[allow(dead_code)] // ROADMAP v0.4.0 - Read validation check for SELECT/MATCH operations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected