Preserve source paths during field normalization

This commit is contained in:
2026-11-17 20:44:07 +00:00
parent 6da4d070e5
commit 2d1fa57d9b
7 changed files with 80 additions and 59 deletions

View File

@@ -391,7 +391,7 @@ func TestInheritedReferencePathsKeepDeclaringSource(t *testing.T) {
}
main := filepath.Join(root, "notarius.yml")
if err := os.WriteFile(main, []byte(`version: 5
configkit:
config:
imports:
- path: parents/pipelines.yml
- path: children/pipelines.yml
@@ -488,7 +488,7 @@ func TestInheritedInspectionRetainsOriginsRedactionAndOwnership(t *testing.T) {
}
main := filepath.Join(root, "notarius.yml")
if err := os.WriteFile(main, []byte(`version: 5
configkit:
config:
imports:
- path: parents/pipelines.yml
- path: children/pipelines.yml