Skip to content

Breaking Change get --all and export return difference #866

@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

dsc resource get -r <type> --all no longer has the same output compared to pre-preview7. This PR #861 most is most likely the cause.

Steps to reproduce

  • Run dsc resource get -r <type> --all on both preview7 and prior and verify all --output-type return correct values and yaml is returned by default to the console.

Expected behavior

Output matches versions prior to preview7

# json output
{
    "actualState": {
        "result": [
            <object>
        ]
    }
}

Actual behavior

Outputs json by default and if forcing to yaml does not match either.

Error details

Environment data

7.6-preview4

Version

3.1-preview7

Visuals

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions