yq/examples/merge-anchor.yaml
2019-12-27 19:06:08 +11:00

20 lines
209 B
YAML

foo: &foo
a: original
thing: coolasdf
thirsty: yep
bar: &bar
b: 2
thing: coconut
c: oldbar
foobarList:
<<: [*foo,*bar]
c: newbar
foobar:
<<: *foo
thirty: well beyond
thing: ice
c: 3