【发布时间】:2017-05-28 00:04:05
【问题描述】:
有没有办法像这样在 yaml 中使用占位符:
foo: &FOO
<<propname>>:
type: number
default: <<default>>
bar:
- *FOO
propname: "some_prop"
default: "some default"
【问题讨论】:
标签: yaml computed-properties indirection template-variables