yq/examples/merge-anchor.yaml
2019-12-22 15:15:15 +11:00

18 lines
172 B
YAML

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