feat(import): resolve references and schema composition

This commit is contained in:
bsodfather committed 2026-08-29 08:54:26 +03:00
1 parent 6c2a3712d8
commit 55209a9bbc
46 files changed
+4848 -437

No files matched your search

+16 -2
View File
@@ -1,8 +1,9 @@
use std::fmt;
use crate::{
AdminProcessConfig, CacheSettings, DatabaseSettings, McpProcessConfig, MetricsSettings,
MigratorConfig, ObservabilitySettings, OtlpSettings, OutboundSettings, RuntimeSettings,
AdminProcessConfig, CacheSettings, DatabaseSettings, ExternalReferenceSettings,
McpProcessConfig, MetricsSettings, MigratorConfig, ObservabilitySettings, OtlpSettings,
OutboundSettings, RuntimeSettings,
};
impl fmt::Debug for DatabaseSettings {
@@ -32,6 +33,18 @@ impl fmt::Debug for OutboundSettings {
.finish()
}
}
impl fmt::Debug for ExternalReferenceSettings {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("ExternalReferenceSettings")
.field("allowed_url_prefix_count", &self.allowed_url_prefixes.len())
.field("max_depth", &self.max_depth)
.field("max_documents", &self.max_documents)
.field("max_fetch_bytes", &self.max_fetch_bytes)
.field("fetch_timeout_ms", &self.fetch_timeout_ms)
.field("max_expanded_nodes", &self.max_expanded_nodes)
.finish()
}
}
impl fmt::Debug for RuntimeSettings {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("RuntimeSettings")
@@ -93,6 +106,7 @@ impl fmt::Debug for AdminProcessConfig {
f.debug_struct("AdminProcessConfig")
.field("database", &self.database)
.field("runtime", &self.runtime)
.field("external_references", &self.external_references)
.field("observability", &self.observability)
.field("storage_root", &"configured")
.field("session_secret", &self.session_secret)