Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@raboof
Copy link
Contributor

@raboof raboof commented Apr 2, 2020

This is part of #761 but does not close the issue entirely

Copy link
Contributor

@ennru ennru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@raboof raboof merged commit d39b7f5 into akka:master Apr 2, 2020
case m => scala.concurrent.Future.failed(new NotImplementedError(s"Not implemented: $m"))
})
.recoverWith(GrpcExceptionHandler.from(eHandler(system))(system, writer))
.recoverWith(GrpcExceptionHandler.from(eHandler(system.classicSystem))(system, writer))
Copy link
Contributor

@bjaglin bjaglin Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raboof if I understand well, users willing to bump to akka-grpc 0.8.3 with an akka 2.6.x classpath (in my case brought by Play 2.8.1) need to wait for akka 2.6.5 to come out with akka/akka-core#28847 and manually declare it, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ach, you are right of course. This change in Akka is binary compatible, but not source compatible. Since we're generating sources here that impacts us.

Until 2.6.5 is out we can work around it in Akka gRPC by moving the conversion from the generated code to the akka-grpc-runtime library.

Do you want to or shall I?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I experienced this morning, generated code doesn't compile when using akka-grpc 0.8.3 with akka 2.6.4

Copy link
Contributor

@bjaglin bjaglin Apr 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until 2.6.5 is out we can work around it in Akka gRPC by moving the conversion from the generated code to the akka-grpc-runtime library.

Makes sense! I'm AFK today, so I won't get the chance to look at it.

I don't have an urgent need for this, so my question was more related to how forcing 2.6.5+, when available, would have been possible without the client adding it manually (since akka-grpc brings 2.5.x until 1.x from what I understand). But if we move the accessor to the right package, this becomes unnecessary obviously.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll cut a 0.8.4 #905 with #904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants