-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
The implementedAs
property for PS Adapter types is set to a value of 1
which doesn't indicate what it means. The property seems to be an enum, maybe it is not being serialized properly.
Running steps to reproduce on the other built-in command based resources don't have a value set for implementedAs
.
DSC/dsc_lib/src/dscresources/dscresource.rs
Lines 71 to 75 in ea2d0f3
pub enum ImplementedAs { | |
/// A command line executable | |
Command, | |
/// A custom resource | |
Custom(String), |
Steps to reproduce
dsc resource list --adapter Microsoft.DSC/PowerShell |
ConvertFrom-Json |
Select-Object -Property type, implementedAs
Expected behavior
Descriptive value
Actual behavior
Numeric value `1` which does not indicate what its supposed to mean
Error details
Environment data
7.6-preview4
Version
3.1-preview5
Visuals
No response