-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add BuildInfo so the Akka gRPC version becomes available for specifying dependencies #303
Comments
👍 In akka-grpc this BuildInfo lives in the codegen subproject, so that it's available for all plugins (not just sbt) For the runtime library in sbt, we could even pull it in automatically via the code generator (we do the same in akka-grpc) |
Added #306, not sure if you had something smarter in mind. |
After reviewing the code in #306 I think we're taking the wrong approach. I think Play and Lagom users should extract the version of Akka and Akka-HTTP from their main framework (lagom/play) and not play-grpc. This leaves only the versions of akka-grpc and grpc itself which may already be extractred from Akka-gRPC's So, instead of adding Usage would look like this: (taken from https://github.com/playframework/play-samples/tree/2.8.x/play-scala-grpc-example)
|
@ignasi35 The important bit was to communicate the Akka gRPC version. You are right that the other versions should come from more relevant sources. |
Why? Since we're currently actively working on akka-grpc, I think there is a good likelyhood that akka-grpc will use newer akka-http features, and thus require a newer akka-http version than play/lagom currently requires. Since Akka HTTP generally maintains binary compatibility that should work fine, right? (unless exceptional cases where play used internal API's or we dropped the ball in Akka HTTP) |
Correct. An I'm not against I agree that akka-grpc is more actively maintained and I like the idea of allowing the user to choose between My comment was only about |
Aah, yeah. That makes sense to me, |
(this is a slightly different discussion) I was even thinking the
or
in play-grpc/project/Dependencies.scala Lines 13 to 14 in b40b32c
So we lock versions a bit more. I'm not sure it is a good idea, though. |
eg for
The text was updated successfully, but these errors were encountered: