Akka.Streams: SubFlow
DSL is broken and requires lots of casting to be workable
#7512
Labels
SubFlow
DSL is broken and requires lots of casting to be workable
#7512
Version Information
Version of Akka.NET? v1.5.38
Which Akka.NET Modules? Akka.Streams
Describe the bug
Here's a small reproduction sample using the
GroupBy
operator in Akka.Streams:You can run this in LINQPad here: https://share.linqpad.net/bkgp72uf.linq
Expected behavior
I should be able to call
.MergeSubstreams()
and.RunAggregate(0, (total, batchCount) => total + batchCount, system);
without having to cast the substreams back into their underlying parts.Actual behavior
As you can see from the sample, I do have to cast them all currently.
Additional context
Fixing this might be considered a big breaking API change, potentially, even though it's really just up-casting from an interface
IFlow<....
toSubFlow<...
. Not sure what the best way to package this is but it's an issue that needs to be addressed.The text was updated successfully, but these errors were encountered: