Bind engine secret handling to facade types
This commit is contained in:
@@ -110,7 +110,7 @@ func runValidation[T any](configuration *T, validator func(*T, *Validation), sch
|
||||
return canonicalDiagnostics(state.diagnostics)
|
||||
}
|
||||
state.diagnostics = append(state.diagnostics, validationValueMutations(before, after)...)
|
||||
for _, path := range changedSecretStates(reflect.ValueOf(*configuration), schema.root, lookups) {
|
||||
for _, path := range changedSecretStates(reflect.ValueOf(*configuration), schema, lookups) {
|
||||
state.diagnostics = append(state.diagnostics, validationMutationDiagnostic(path))
|
||||
}
|
||||
return canonicalDiagnostics(state.diagnostics)
|
||||
|
||||
Reference in New Issue
Block a user