Skip to content

v2.7.3 - Fix/enum const filter#49

Merged
gmpassos merged 2 commits intomasterfrom
fix/enum-const-filter
Jan 9, 2026
Merged

v2.7.3 - Fix/enum const filter#49
gmpassos merged 2 commits intomasterfrom
fix/enum-const-filter

Conversation

@gmpassos
Copy link
Owner

@gmpassos gmpassos commented Jan 9, 2026

No description provided.

- `lib/src/reflection_factory_builder.dart`:
  - `_EnumTree<T>`: Filtered enum entries to include only those marked as `const` when generating `_valuesByName` map.

- `pubspec.yaml`:
  - Updated dependencies:
    - `build`: ^4.0.3
    - `analyzer`: ^8.4.1
    - `dart_style`: ^3.1.3
  - Updated dev_dependencies:
    - `build_runner`: ^2.10.4
    - `build_test`: ^3.5.4
    - `test`: ^1.29.0
@gmpassos gmpassos merged commit a989f71 into master Jan 9, 2026
3 checks passed
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.04%. Comparing base (8225864) to head (c9f0104).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   86.03%   86.04%           
=======================================
  Files          14       14           
  Lines        6325     6326    +1     
=======================================
+ Hits         5442     5443    +1     
  Misses        883      883           
Flag Coverage Δ
unittests 86.04% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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