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

Method get_validate_on_write

graphlite/src/session/models.rs:344–351  ·  view source on GitHub ↗

Get whether to validate on write operations (default: true)

(&self)

Source from the content-addressed store, hash-verified

342
343 /// Get whether to validate on write operations (default: true)
344 pub fn get_validate_on_write(&self) -> bool {
345 self.get_parameter("schema_validate_on_write")
346 .and_then(|v| match v {
347 Value::Boolean(b) => Some(*b),
348 _ => None,
349 })
350 .unwrap_or(true)
351 }
352
353 /// Set whether to allow unknown properties not defined in schema
354 pub fn set_allow_unknown_properties(&mut self, allow: bool) {

Callers

nothing calls this directly

Calls 1

get_parameterMethod · 0.45

Tested by

no test coverage detected