Skip to content

Class-based resources with Export does not show capability #853

Open
@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 PowerShell adapters should inspect class-based resources AST for a static Export() method and set the capability automatically.

Steps to reproduce

  • Create a class-based resource with Export() method.
  • Run dsc resource list --adapter Microsoft.Dsc/PowerShell

Expected behavior

Export cap is listed

Actual behavior

Export cap is NOT listed

Error details

Environment data

7.6-preview6

Version

3.1-preview6

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