Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.4.1 - JsonEntityCacheSimple.cacheEntityInstantiator #37

Merged
merged 23 commits into from
Jul 5, 2024

Conversation

gmpassos
Copy link
Owner

@gmpassos gmpassos commented Jul 5, 2024

No description provided.

@gmpassos gmpassos changed the title Cache entity instantiator v2.4.1 - cacheEntityInstantiator Jul 5, 2024
@gmpassos gmpassos changed the title v2.4.1 - cacheEntityInstantiator v2.4.1 - JsonEntityCacheSimple.cacheEntityInstantiator Jul 5, 2024
gmpassos added 4 commits July 5, 2024 02:35
Added to interface (from `JsonEntityCacheSimple`):
    `cachedEntities`, `allCachedEntities`, `instantiateAllCachedEntities`, `cachedEntitiesLength`,
    `cachedEntitiesInstantiatorsLength`, `totalCachedEntities`.
- `JsonEntityCache`:
  - Added `isCachedEntityByID` and `cacheEntityInstantiator`.
  - `JsonEntityCacheSimple`: implement new methods.
  - Added to interface (from `JsonEntityCacheSimple`):
    `cachedEntities`, `allCachedEntities`, `instantiateAllCachedEntities`, `cachedEntitiesLength`,
    `cachedEntitiesInstantiatorsLength`, `totalCachedEntities`.
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 86.99187% with 16 lines in your changes missing coverage. Please review.

Project coverage is 87.52%. Comparing base (96ce353) to head (acdd2c3).

Files Patch % Lines
lib/src/reflection_factory_json.dart 86.32% 16 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   87.34%   87.52%   +0.18%     
==========================================
  Files          13       13              
  Lines        5627     5717      +90     
==========================================
+ Hits         4915     5004      +89     
- Misses        712      713       +1     
Flag Coverage Δ
unittests 87.52% <86.99%> (+0.18%) ⬆️

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.

@gmpassos gmpassos merged commit 109e080 into master Jul 5, 2024
4 of 5 checks passed
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