Get whether to allow unknown properties (default: false in strict mode, true otherwise)
(&self)
| 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 |
nothing calls this directly
no test coverage detected