Closed gsuuon closed 1 year ago
Expressions can now reference the results of previous expressions - add an { id: string} to the expression option, and in the consuming expression provide a function which takes ref getter
{ id: string}
template`{ "name": "${a('name', {id: 'name'})}", "description": "${ref => a('good description for ' + ref('name'))}" }`})
Expressions can now reference the results of previous expressions - add an
{ id: string}
to the expression option, and in the consuming expression provide a function which takes ref getter