Skip to content

[release/11.0] Fix skipped and collection union cases in Minimal API validation - #69928

Merged
wtgodbe merged 1 commit into
release/11.0from
backport/pr-69870-to-release/11.0
Oct 19, 2026
Merged

wtgodbe merged 1 commit into
release/11.0from
backport/pr-69870-to-release/11.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #69870 to release/11.0

/cc @DeagleGross

Fix skipped and collection union cases in Minimal API validation

Summary of the changes (Less than 80 chars)

Description

{Detail}

Fixes #{bug number} (in this specific format)

Customer Impact

{Justification}

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

[Justify the selection above]

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

)

* Fix skipped and collection union cases in Minimal API validation

Respect SkipValidation when discovering union alternatives and use the active case type for collection traversal through the synthesized Value property. Cover sync/async validation and endpoint responses with regression tests.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: f20efd42-f75e-4e3b-be78-32f9211c50d4

* Preserve suppression and self-validation for union collections

Carry skipped union case predicates into generated property metadata, check skipped element types before discovery, and validate collection cases themselves before traversing their elements. Add sync/async and endpoint regression coverage, and fix construction of the Boolean union control.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: f20efd42-f75e-4e3b-be78-32f9211c50d4

---------

Copilot-Session: f20efd42-f75e-4e3b-be78-32f9211c50d4
@wtgodbe
wtgodbe merged commit 8ded432 into release/11.0 Oct 19, 2026
28 checks passed
@wtgodbe
wtgodbe deleted the backport/pr-69870-to-release/11.0 branch October 19, 2026 19:04
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