Closed SteveL-MSFT closed 10 months ago
The test failure is due to not handling nested types in expression invocation so fixing that.
The remaining failure is due to properties that get returned may look like an expression so if you pipe that back to dsc, it fails. I think the right thing to do here is if it's retrieved via config, then it needs to escape it if it starts and ends with brackets.
PR Summary
resourceId()
regex and replaced with a functionconcat()
andbase64()
functions within a configurationas_str()
instead ofto_string()
as the latter includes outer quotesPR Context
Partially implements https://github.com/PowerShell/DSC/issues/57