Use native ConfigKit loading for domain documents

This commit is contained in:
2026-11-29 16:31:19 +00:00
parent ac21977996
commit dbc2697090
6 changed files with 82 additions and 250 deletions

View File

@@ -52,7 +52,7 @@ func run(args []string, stdout, stderr io.Writer) int {
}
var value any
if err == nil {
value, err = validation.Decode(data)
value, err = validation.LoadDomain(file, data)
}
if err == nil {
err = schema.Validate(value)