Skip to content

Only forward the verbose property if it has been set - #5449

Merged
JohnMcPMS merged 1 commit into
microsoft:masterfrom
JohnMcPMS:empty-string-is-not-a-bool
May 12, 2025
Merged

Only forward the verbose property if it has been set#5449
JohnMcPMS merged 1 commit into
microsoft:masterfrom
JohnMcPMS:empty-string-is-not-a-bool

Conversation

@JohnMcPMS

@JohnMcPMS JohnMcPMS commented May 10, 2025

Copy link
Copy Markdown
Member

Change

To prevent an error from attempting to parse a boolean from an empty string, only forward the diagnostics (verbose) property if it has been set.

Validation

Tried with and without verbose, logs are as expected. We should take time in the future to make the E2E tests exercise the dynamic factory more.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS
JohnMcPMS requested a review from a team as a code owner May 10, 2025 02:19
@JohnMcPMS
JohnMcPMS merged commit d16646c into microsoft:master May 12, 2025
@JohnMcPMS
JohnMcPMS deleted the empty-string-is-not-a-bool branch May 12, 2025 15:56
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.

3 participants