Source/Aggregates/AggregateRoot.cs
Method RehydrateInternal
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internal async Task RehydrateInternal(IAsyncEnumerable<CommittedAggregateEvents> batches, IReadOnlyDictionary<Type, MethodInfo> onMethods,
CancellationToken cancellationToken)
{
var hasBatches = false;
var expectedVersion = AggregateRootVersion.Initial;