• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucaslorentz / auto-compute / 11755625072

09 Nov 2024 10:48AM UTC coverage: 79.945% (-0.09%) from 80.033%
11755625072

push

github

lucaslorentz
Add initial support for computed navigations and observers

159 of 359 new or added lines in 22 files covered. (44.29%)

41 existing lines in 7 files now uncovered.

1459 of 1825 relevant lines covered (79.95%)

113.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/LLL.AutoCompute/ChangesProviders/ChangesProvider.cs
1
using System.Linq.Expressions;
2
using LLL.AutoCompute.EntityContexts;
3

4
namespace LLL.AutoCompute.ChangesProviders;
5

6
public class ChangesProvider<TInput, TEntity, TChange>(
77✔
7
    IUnboundChangesProvider<TInput, TEntity, TChange> unboundChangesProvider,
77✔
8
    TInput input,
77✔
9
    ChangeMemory<TEntity, TChange> memory
77✔
10
) : IChangesProvider<TEntity, TChange>
77✔
11
    where TEntity : class
12
{
NEW
13
    LambdaExpression IChangesProvider.Expression => unboundChangesProvider.Expression;
×
14
    public EntityContext EntityContext => unboundChangesProvider.EntityContext;
×
15
    public IChangeCalculation<TChange> ChangeCalculation => unboundChangesProvider.ChangeCalculation;
×
16

17
    public async Task<IReadOnlyDictionary<TEntity, TChange>> GetChangesAsync()
18
    {
19
        return await unboundChangesProvider.GetChangesAsync(input, memory);
85✔
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc