Skip to content

Introduce Interpolation::Params class

Avielle Wolfe requested to merge 433002-introduce-interpolation-params into master

What does this MR do and why?

Hash interpolation receives already parsed YAML configs, so we reuse the Yaml::Result class to pass configs to interpolation. However, even though it works, it's weird to use a Result for both interpolation input and config loading output.

Text interpolation requires a raw (string) YAML config. Making this change gives us an opportunity to pass something more relevant to interpolation, so this MR introduces Interpolation::Params to serve that purpose.

Related to #433002 (closed) - MR 2 of 3

Edited by Avielle Wolfe

Merge request reports

Loading