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

Method set_allow_unknown_properties

graphlite/src/session/models.rs:354–359  ·  view source on GitHub ↗

Set whether to allow unknown properties not defined in schema

(&mut self, allow: bool)

Source from the content-addressed store, hash-verified

352
353 /// Set whether to allow unknown properties not defined in schema
354 pub fn set_allow_unknown_properties(&mut self, allow: bool) {
355 self.set_parameter(
356 "schema_allow_unknown_properties".to_string(),
357 Value::Boolean(allow),
358 );
359 }
360
361 /// Get whether to allow unknown properties (default: false in strict mode, true otherwise)
362 pub fn get_allow_unknown_properties(&self) -> bool {

Callers

nothing calls this directly

Calls 1

set_parameterMethod · 0.80

Tested by

no test coverage detected