Repository navigation
[release/v7.6] Update PowerShell Profile DSC resource manifests to allow null for content - #26973
Conversation
There was a problem hiding this comment.
Pull request overview
Backport of #26929 to release/v7.6, updating the PowerShell Profile DSC resource manifest schema to allow null for the content property so callers can explicitly omit content management.
Changes:
- Updated
contentschema type to accept both"string"and"null".
b30abae
into
PowerShell:release/v7.6
|
|
اريد تحميلها |
Backport of #26929 to release/v7.6
Triggered by Dongbo Wang (@daxian-dbw) on behalf of Aditya Patwardhan (@adityapatwardhan)
Original CL Label: CL-General
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Customer Impact
Improves DSC resource schema flexibility by allowing null values for content property, enabling scenarios where content may be intentionally omitted.
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Schema change validated to ensure it accepts both string and null values as intended. No functional code changes or test additions needed for schema-only modifications.
Risk
REQUIRED: Check exactly one box.
Low risk as this only updates the DSC resource manifest schema to allow null values for the content property. The change improves schema flexibility without affecting existing functionality or breaking current usage patterns.