Summary of the new feature / enhancement
When using Microsoft.Windows/EnvironmentVariable performing a get or export against PATH or PSModulePath, the resource cannot infer that the variable is a path type so it returns it as a string instead of an array.
Proposed technical implementation details (optional)
There should be a isPath property that can be supplied to inform the resource to split the path by path separator making it easier to export, modify, and set instead of having it sometimes as a string and sometimes as an array.
One decision point is with this property whether it makes sense to have separate value and pathValue properties vs collapsing it into just value.
Summary of the new feature / enhancement
When using
Microsoft.Windows/EnvironmentVariableperforming agetorexportagainstPATHorPSModulePath, the resource cannot infer that the variable is a path type so it returns it as a string instead of an array.Proposed technical implementation details (optional)
There should be a
isPathproperty that can be supplied to inform the resource to split the path by path separator making it easier to export, modify, and set instead of having it sometimes as a string and sometimes as an array.One decision point is with this property whether it makes sense to have separate
valueandpathValueproperties vs collapsing it into justvalue.