dolittle/DotNET.SDK

View on GitHub
Source/Aggregates/Internal/AggregateRootMetadata.cs

Summary

Maintainability
A
1 hr
Test Coverage
B
87%

Method CreateConstruct has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static Func<IServiceProvider, EventSourceId, Try<TAggregateRoot>> CreateConstruct(Type aggregateRootType)
    {
        if (!TryGetConstructor(aggregateRootType, out var constructor, out var e))
        {
            // Not instantiatable
Severity: Minor
Found in Source/Aggregates/Internal/AggregateRootMetadata.cs - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status