Walk: opt-in to visiting map keys when walking map entries

This commit is contained in:
Phillip Wittrock
2020-03-08 16:52:13 -07:00
parent 6944cea234
commit 63ff34ffe2
3 changed files with 32 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ func (l *Walker) walkAssociativeSequence() (*yaml.RNode, error) {
}
for _, value := range values {
val, err := Walker{
VisitKeysAsScalars: l.VisitKeysAsScalars,
InferAssociativeLists: l.InferAssociativeLists,
Visitor: l,
Schema: s,