Skip to content

PS Adapter implementedAs property #805

@ThomasNieto

Description

@ThomasNieto

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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions