有没有办法在yaml中使用占位符,如下所示:
foo: &FOO <<propname>>: type: number default: <<default>> bar: - *FOO propname: "some_prop" default: "some default"
yaml indirection computed-properties template-variables
computed-properties ×1
indirection ×1
template-variables ×1
yaml ×1