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

Method get_allow_unknown_properties

graphlite/src/session/models.rs:362–369  ·  view source on GitHub ↗

Get whether to allow unknown properties (default: false in strict mode, true otherwise)

(&self)

Source from the content-addressed store, hash-verified

360
361 /// Get whether to allow unknown properties (default: false in strict mode, true otherwise)
362 pub fn get_allow_unknown_properties(&self) -> bool {
363 self.get_parameter("schema_allow_unknown_properties")
364 .and_then(|v| match v {
365 Value::Boolean(b) => Some(*b),
366 _ => None,
367 })
368 .unwrap_or_else(|| self.get_schema_enforcement_mode() != "strict")
369 }
370
371 // === Session Lifecycle Management ===
372

Callers

nothing calls this directly

Calls 2

get_parameterMethod · 0.45

Tested by

no test coverage detected