How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

A more YAML friendly template delimiter

calendar_today July 26, 2022 person domain porter

Porter is getting a different template delimiter in v1! Previously, the template delimiter used in porter.yaml was { { } } and we are changing it to ${ } starting in v1.0.0-beta.2. What does this change? The problem with the old delimiter is that it forced all templates to be wrapped in quotes because curly braces are special characters in YAML. The quotes made it impossible to pass a boolean or numeric value to a mixin because the wrapping quotes always forced the value to be a string….

open_in_new Read original post