mobx.dart
mobx.dart copied to clipboard
feat: Added automatic generation of `==` and `hashCode` method with `@StoreConfig`
Describe the changes proposed in this Pull Request.
Added automatic generation of == and hasCode method with @StoreConfig
Pull Request Checklist
- [x] If the changes are being made to code, ensure the version in
pubspec.yamlis updated. - [x] Increment the
major/minor/patch/patch-count, depending on the complexity of change - [ ] Add the necessary unit tests to ensure the coverage does not drop
- [x] Update the Changelog to include all changes made in this PR, organized by version
- [x] Run the
melos run set_versioncommand from the root directory - [ ] Include the necessary reviewers for the PR
- [x] Update the docs if there are any API changes or additions to functionality
Deploy request for mobx pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | e5e72e537c8ce332aab836aa558cac62aae7cf81 |
Codecov Report
Merging #972 (e5e72e5) into main (52515a1) will decrease coverage by
1.30%. The diff coverage is34.88%.
Additional details and impacted files
@@ Coverage Diff @@
## main #972 +/- ##
==========================================
- Coverage 99.00% 97.70% -1.30%
==========================================
Files 57 57
Lines 2005 2047 +42
==========================================
+ Hits 1985 2000 +15
- Misses 20 47 +27
| Flag | Coverage Δ | |
|---|---|---|
| flutter_mobx | 100.00% <ø> (ø) |
|
| mobx | 96.69% <0.00%> (-1.88%) |
:arrow_down: |
| mobx_codegen | 100.00% <100.00%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files | Coverage Δ | |
|---|---|---|
| mobx_codegen/lib/src/store_class_visitor.dart | 100.00% <100.00%> (ø) |
|
| mobx_codegen/lib/src/template/store.dart | 100.00% <100.00%> (ø) |
|
| mobx/lib/src/api/annotations.dart | 80.00% <0.00%> (ø) |
|
| mobx/lib/src/api/store.dart | 14.28% <0.00%> (-85.72%) |
:arrow_down: |
| mobx/lib/src/utils.dart | 34.37% <0.00%> (-65.63%) |
:arrow_down: |
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 52515a1...e5e72e5. Read the comment docs.