Referring to #7
Having the files
0.yml:
1.yml:
Its possible to load multiple yaml with these methods:
- using keys
0: !include include.d/0.yml
1: !include include.d/1.yml
and obtain:
{0: {'foo0': 'bar0'}, 1: {'foo1': 'bar1'}}
- using sequence
- !include include.d/0.yml
- !include include.d/1.yml
and obtain
[{'foo0': 'bar0'}, {'foo1': 'bar1'}]
What i would like to obtain is:
{'foo0': 'bar0', 'foo1': 'bar1'}
I think that by using yaml Merge Key I should obtain what I want:
<<: !include include.d/0.yml
<<: !include include.d/1.yml
Unfortunately i get expected a mapping or list of mappings for merging, but found scalar error.
Its possible to support this include pattern?
Thanks,
Francesco
Referring to #7
Having the files
0.yml:
1.yml:
Its possible to load multiple yaml with these methods:
What i would like to obtain is:
I think that by using yaml Merge Key I should obtain what I want:
Unfortunately i get
expected a mapping or list of mappings for merging, but found scalarerror.Its possible to support this include pattern?
Thanks,
Francesco