Carry collection selections through configuration

This commit is contained in:
2026-11-29 17:53:36 +00:00
parent a0c5ca8761
commit 10221b0624
10 changed files with 172 additions and 6 deletions

View File

@@ -243,7 +243,11 @@ func documentReferencesToRuntime(documents map[string]ReferenceDocument) map[str
continue
}
if document.Path != nil {
references[name] = pipeline.ExternalReference(*document.Path)
reference := pipeline.ExternalReference(*document.Path)
if document.Collections != nil {
reference.Collections = append([]string{}, document.Collections...)
}
references[name] = reference
}
}
return references