Skip to content

feat: allow multiple declarations of the same property in discriminat… - #120

Open
shannenigans wants to merge 2 commits into
cloudscape-design:mainfrom
shannenigans:main
Open

feat: allow multiple declarations of the same property in discriminat…#120
shannenigans wants to merge 2 commits into
cloudscape-design:mainfrom
shannenigans:main

Conversation

@shannenigans

Copy link
Copy Markdown

Issue #, if available:

Description of changes:
Picks the first non-never property when multiple declarations are provided

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shannenigans
shannenigans requested a review from a team as a code owner July 27, 2026 21:09
@shannenigans
shannenigans requested review from ernst-dev and removed request for a team July 27, 2026 21:09
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.59%. Comparing base (b2851ce) to head (797861f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
- Coverage   95.11%   94.59%   -0.53%     
==========================================
  Files          11       11              
  Lines         512      518       +6     
  Branches      139      142       +3     
==========================================
+ Hits          487      490       +3     
- Misses         25       28       +3     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ernst-dev

Copy link
Copy Markdown
Member

Could you add more tests to meet the codecov requirements?

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