Pass the key node

This commit is contained in:
Dmitry
2023-08-25 10:42:17 +02:00
committed by quobix
parent 55da120b19
commit 6c24cd5940
12 changed files with 22 additions and 21 deletions

View File

@@ -235,7 +235,8 @@ func extractComponentValues[T low.Buildable[N], N any](label string, root *yaml.
// build.
_ = low.BuildModel(value, n)
err = n.Build(value, idx)
// todo: label is a key or?
err = n.Build(label, value, idx)
if err != nil {
ec <- err
return