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

Configuration Schema 0.3 #3779

Merged
merged 18 commits into from
Oct 25, 2023
Merged

Configuration Schema 0.3 #3779

merged 18 commits into from
Oct 25, 2023

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Oct 17, 2023

Change

This change adds a new 0.3 configuration schema (as experimental). This new schema is more aligned with the PowerShell DSC v3 schema, and supports variables, parameters, and configuration nesting (groups). This change only implements the parsing of the new schema; future changes will implement handling the new features.

For reference, the new schema looks like:

$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/08/config/document.json
resources:
  - name: Name
    type: Module/Resource
    metadata:
      e: '5'
    properties:
      c: 3
  - name: Name2
    type: Module/Resource2
    dependsOn:
      - Name
    properties:
      l: '10'

Validation

New tests are added for parsing, experimental state, et al.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner October 17, 2023 23:46
@JohnMcPMS JohnMcPMS merged commit 190b812 into microsoft:master Oct 25, 2023
8 checks passed
@JohnMcPMS JohnMcPMS deleted the dsc-schema-0.3 branch October 25, 2023 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants