Carry collection selections through configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user