Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support YAML and JSONC for resource manifests #129

Closed
michaeltlombardi opened this issue Aug 3, 2023 · 1 comment
Closed

Support YAML and JSONC for resource manifests #129

michaeltlombardi opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
Issue-Enhancement The issue is a feature or idea

Comments

@michaeltlombardi
Copy link
Collaborator

Summary of the new feature / enhancement

As a DSC Resource author, I want to be able to author and maintain my resource manifests in YAML without needing to convert them to JSON as a build step, because authoring, maintaining, documenting, and reading YAML files is easier for me.

I'd like to be able to author my manifests in either JSONC or YAML so that I can include comments for both local development and maintenance purposes.

Proposed technical implementation details (optional)

Support discovering DSC Resource manifests if they're in the PATH with any of the following file extensions:

  • .dsc.resource.json
  • .dsc.resource.jsonc
  • .dsc.resource.yaml
  • .dsc.resource.yml
@michaeltlombardi michaeltlombardi added the Issue-Enhancement The issue is a feature or idea label Aug 30, 2023
@SteveL-MSFT
Copy link
Member

WG discussed this to allow resource manifest to be in YAML, but not mix of YAML/JSON in a single file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea
Projects
None yet
Development

No branches or pull requests

3 participants