1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

merge anchors!

This commit is contained in:
Mike Farah
2020-10-30 12:00:48 +11:00
parent 643f2467ee
commit 461c3e719c
5 changed files with 178 additions and 36 deletions

View File

@@ -1,19 +1,19 @@
foo: &foo
a: original
thing: coolasdf
thirsty: yep
a: foo_a
thing: foo_thing
c: foo_c
bar: &bar
b: 2
thing: coconut
c: oldbar
b: bar_b
thing: bar_thing
c: bar_c
foobarList:
b: foobarList_b
<<: [*foo,*bar]
c: newbar
c: foobarList_c
foobar:
c: foobar_c
<<: *foo
thirty: well beyond
thing: ice
c: 3
thing: foobar_thing