Improve interpolation by re-working `Evaluate` and `Expand`
All threads resolved!
All threads resolved!
This makes a few changes:
- Introduces
Evaluate
that is meant to handle simple expressions- Error if keys are not to be found
- Reworks the
ExpandString
to track the${{
and}}
- Generate errors for misaligned
${{
- Make
Runner
to pass error messages from interpolation end evaluation
- Generate errors for misaligned
- Make
Expand
to always mutate structure and list
Edited by Kamil Trzciński
Merge request reports
Activity
assigned to @ayufan
added grouptenant scale label
added devopsdata stores sectioncore platform labels
requested review from @josephburnett
@josephburnett This is an improvement to expressions to be more strict (on evaluation) and more lean (on interpolation), but also surface errors. This is also a interface preparation for more complex interpolation.
Edited by Kamil Trzcińskiadded 1 commit
- a17f8f9e - Improve interpolation by introducing `EvaluateString`
added 1 commit
- e4897120 - Improve interpolation by introducing `EvaluateString`
added 1 commit
- 00ea92ae - Improve interpolation by introducing `EvaluateString`
added 1 commit
- 42302540 - Improve interpolation by introducing `EvaluateString`
mentioned in merge request !5 (merged)
added 1 commit
- 4cddd91f - Improve interpolation by introducing `EvaluateString`
- Resolved by Joe Burnett
mentioned in commit 3896064b
Please register or sign in to reply