Skip to content

prevent grouping mutually exclusive choice branches#1216

Open
Thomasb81 wants to merge 1 commit into
tefra:mainfrom
Thomasb81:fix1215
Open

prevent grouping mutually exclusive choice branches#1216
Thomasb81 wants to merge 1 commit into
tefra:mainfrom
Thomasb81:fix1215

Conversation

@Thomasb81
Copy link
Copy Markdown

📒 Description

Avoid grouping attributes that belong to the same choice but different branches.
Previously, the handler only checked the choice ID and path length, which caused elements located in
distinct branches (e.g., sequences within a choice) to be incorrectly aggregated into a single repeating choice block.

Resolves #1215

🛫 Checklist

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 18, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.98%. Comparing base (00e6276) to head (237d95a).

Files with missing lines Patch % Lines
...gen/handlers/update_attributes_effective_choice.py 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main    #1216      +/-   ##
===========================================
- Coverage   100.00%   99.98%   -0.02%     
===========================================
  Files          116      116              
  Lines         9376     9378       +2     
  Branches      1439     1440       +1     
===========================================
+ Hits          9376     9377       +1     
- Partials         0        1       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

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.

[xsd support] wrong field identify as a list within a choice

1 participant