-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zipWithIndex is broken for org.apache.pekko.stream.scaladsl.GraphDSL.Implicits.PortOps #1525
Comments
Assigning to @He-Pin since the change was done by him |
@remyhaemmerle-da Can you include the compile error or stack trace? It saves the volunteers a lot of time not to have to go and reproduce the issue. |
Here is the stack trace, with pekko 1.1.1
|
I still favour starting by reverting #591 but I think we could consider later following up and seeing if we can make PortOps support attributes instead of throwing UnsupportedOperationException.
|
#1526 was merged |
On the one hand, org.apache.pekko.stream.scaladsl.GraphDSL.Implicits.PortOps inherits from org.apache.pekko.stream.scaladsl.Flow.
On the other hand, as of #591 the implementation of FlowOps#zipWithIndex calls FlowOps#withAttributes
However
PortOpsImpl
the implementation ofPortOps
does not supportwithAttributes
Here is a small program that works with pekko 1.0.2 but crashes with 1.1.1
The text was updated successfully, but these errors were encountered: