databricks-cli/libs/dyn/yamlloader/testdata/anchor_02.yml

14 lines
248 B
YAML

# 2. Merging Anchors
# Here, multiple anchors can be merged into a single item.
defaults: &DEFAULTS
color: red
size: large
materials: &MATERIALS
primary: cotton
secondary: polyester
shirt:
<<: [*DEFAULTS, *MATERIALS]
pattern: striped