Ticket #206 (new enhancement)
Need ability to reuse and expand on defined lists and mappings.
|Reported by:||philip@…||Owned by:||xi|
|Severity:||normal||Keywords:||anchor reference expansion|
Every yaml file I've created requires some form of data reuse. YAML should support list and mapping expansions using existing anchor and reference syntax.
default_items: &default - item one - item two - item three my_items: *default - additional item
default_items: &default one: two foo: bar my_items: *default one: override
Having this ability would be valuable, and appears clean and logical in terms of the existing syntax. Submitting for consideration.