revoframework / Revo

Event Sourcing, CQRS and DDD framework for C#/.NET Core.
https://docs.revoframework.net/
MIT License
644 stars 70 forks source link

Bugfix/inject tenantfilter always #14

Closed martinzima closed 3 years ago

martinzima commented 3 years ago

Breaking change: TenantRepositoryFilter gets injected always, but uses now only Lazy - fixes issue when first request didn't have the filter applied (hint: use ExcludeFilters method when implementing a custom ITenantProvider)

codecov[bot] commented 3 years ago

Codecov Report

Merging #14 (23b299a) into develop (f9057e1) will decrease coverage by 0.03%. The diff coverage is 26.31%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #14      +/-   ##
===========================================
- Coverage    35.47%   35.44%   -0.04%     
===========================================
  Files          457      457              
  Lines         6754     6766      +12     
===========================================
+ Hits          2396     2398       +2     
- Misses        4358     4368      +10     
Impacted Files Coverage Δ
...vo.DataAccess/Entities/ReadRepositoryExtensions.cs 0.00% <0.00%> (ø)
...evo.Infrastructure/Tenancy/DefaultTenantContext.cs 83.33% <ø> (ø)
Revo.Infrastructure/Tenancy/TenancyModule.cs 0.00% <ø> (ø)
...o.Infrastructure/Tenancy/TenantRepositoryFilter.cs 80.00% <83.33%> (ø)
...tructure/Jobs/InMemory/InMemoryJobWorkerProcess.cs 92.30% <0.00%> (+3.84%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f9057e1...23b299a. Read the comment docs.