PowerShell / DSC

This repo is for the DSC v3 project
MIT License
195 stars 24 forks source link

Integrate expressions/functions with DSC #252

Closed SteveL-MSFT closed 10 months ago

SteveL-MSFT commented 10 months ago

PR Summary

PR Context

Partially implements https://github.com/PowerShell/DSC/issues/57

SteveL-MSFT commented 10 months ago

The test failure is due to not handling nested types in expression invocation so fixing that.

SteveL-MSFT commented 10 months ago

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.