The concat() function in ARM templates operates only on strings and arrays, and the input must be either strings or arrays. For strings, it returns a single concatenated string. For arrays, it returns a single concatenated array.
Expected behavior
DSC `concat()` behaves the same as ARM template `concat()`.
Actual behavior
DSC `concat()` supports different concatenating integers and not arrays.
Prerequisites
Steps to reproduce
The implementation of the DSC
concat()
function accepts integers and strings, concatenating them.https://github.com/PowerShell/DSC/blob/f6c6fcd9dfb9d11f8724d1c1c2354b66a4deb0ba/dsc_lib/src/functions/concat.rs#L20-L22
The
concat()
function in ARM templates operates only on strings and arrays, and the input must be either strings or arrays. For strings, it returns a single concatenated string. For arrays, it returns a single concatenated array.Expected behavior
Actual behavior
Error details
No response
Environment data
Version
Latest build from main
Visuals
No response