PS Adapter implementedAs property
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
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.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with dsc_lib/src/dscresources/dscresource.rs around lines 71-75 and inspect how implementedAs is represented and serialized for PS Adapter types. Reproduce with the provided dsc resource list command and compare its output with other built-in command-based resources. Done means the property reports a descriptive value rather than numeric 1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100