Inaccurate default for 'useLatest' in DSC v3 schema
Author: AmelBawa-msftCreated Oct 27, 2025Updated Sep 23, 2026
LabelsIssue-BugDSC-Resource
Relevant area(s)
WinGet CLI, DSC Resource
Relevant command(s)
No response
Brief description of your issue
PS C:\> dsc resource schema -r "Microsoft.WinGet/Package" -o pretty-json
{
...
"useLatest": {
"default": "false", // Should be: false instead of "false"
"description": "Indicate that the latest available version of the package should be installed.",
"type": "boolean"
},
...
}Steps to reproduce
Check description section
Expected behavior
Check description section
Actual behavior
Check description section
Environment
Check description sectionSource: microsoft/winget-cli