Skip to content

Conversation

@phlptp
Copy link
Collaborator

@phlptp phlptp commented Nov 27, 2025

fix an issue where an enumeration with a stream output method would generate strings that could not be converted back to the original enumeration value.

Fixes Issue #1258

recent changes fixed a few issues with the default_val method. The method used the to_string, which in cases where a user supplied a streaming operation to enumerations they could not be converted back to the enumeration properly resulting in some errors and confusing help output.

phlptp and others added 2 commits November 27, 2025 10:30
…enerate strings that could not be converted back to the original enumeration value.
@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1261     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           17        19      +2     
  Lines         4546      5040    +494     
  Branches         0      1077   +1077     
===========================================
+ Hits          4546      5040    +494     

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

@phlptp phlptp merged commit f10ee36 into CLIUtils:main Nov 29, 2025
70 checks passed
@phlptp phlptp deleted the enum_ostream branch November 29, 2025 13:49
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