Skip to content

Conversation

@andrewcurioso
Copy link
Member

When WithUnknown() was used with struct output and dynamic buckets, we didn’t track which keys were already handled by dynamic key rules. Those keys were incorrectly treated as unknown, and the code tried to put them into buckets again using the raw input instead of the validated value (e.g. from WithCast), causing a type/panic. We now track known keys whenever dynamic buckets are present, so only truly unknown keys go through the unknown path.”

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ca29942) to head (d992b6b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #49      +/-   ##
===========================================
+ Coverage   99.88%   100.00%   +0.11%     
===========================================
  Files          77        77              
  Lines        5129      5129              
===========================================
+ Hits         5123      5129       +6     
+ Misses          4         0       -4     
+ Partials        2         0       -2     

☔ 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.

@andrewcurioso andrewcurioso merged commit 8475ee4 into main Feb 6, 2026
4 checks passed
@andrewcurioso andrewcurioso deleted the bug/object-interface branch February 6, 2026 20:01
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.

1 participant