27 Jul 2026 01:19 PM
Monaco doesn't seem to support the full gotemplate function when rendering JSON templates. This makes things sometime really hard. Imagine you have a template like this:
"executionSettings": {
"actor": "{{ .actor }}",
"queryOffset": "{{ .queryOffset | default 0}}",
"delay": "{{ .delay | default 60}}"
}
If in config.yml those parameters are defined they are used, if they are not defined then the default value should be used from the template. However monaco complains "function default not defined". Which tells me not a full gotemplate spec is implemented?
Featured Posts