not_displayable

Diagnostic `nanook::template::not_displayable`

Summary

value at `{0}` is not displayable

Details

When this fires

A {{ ... }} expression resolved to a value the renderer can't turn into text. Scalars (string, number, bool) and structured values with a leaf format are fine; whole structs, lists, or maps without a flat representation are not. Raised by Renderer::leaf in crates/nanook-template/src/render.rs.

What to check

Drill into a scalar field instead of printing the whole container. For lists or maps, use {% for x in ... %} and print scalars inside.

broken: {{ trigger.labels }}
fixed:  {{ trigger.labels["env"] }}
fixed:  {% for k, v in trigger.labels %}{{ k }}={{ v }} {% endfor %}