Skip to content

Move to IReference rather than custom enum for optional bool#6022

Merged
JohnMcPMS merged 1 commit intomicrosoft:masterfrom
JohnMcPMS:edit-com-fix
Feb 3, 2026
Merged

Move to IReference rather than custom enum for optional bool#6022
JohnMcPMS merged 1 commit intomicrosoft:masterfrom
JohnMcPMS:edit-com-fix

Conversation

@JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Feb 3, 2026

Change

Use an IReference<Boolean> rather than a custom enum to represent an optional bool value. The projection is much cleaner and scales better to other value types.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner February 3, 2026 18:39
@JohnMcPMS JohnMcPMS merged commit af3e703 into microsoft:master Feb 3, 2026
9 checks passed
@JohnMcPMS JohnMcPMS deleted the edit-com-fix branch February 3, 2026 23:01
JohnMcPMS added a commit to JohnMcPMS/winget-cli that referenced this pull request Feb 3, 2026
…ft#6022)

## Change
Use an `IReference<Boolean>` rather than a custom enum to represent an
optional bool value. The projection is much cleaner and scales better to
other value types.
JohnMcPMS added a commit that referenced this pull request Feb 3, 2026
…6024)

CP of #6022 

## Change
Use an `IReference<Boolean>` rather than a custom enum to represent an
optional bool value. The projection is much cleaner and scales better to
other value types.
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