feat(scalasdk): Codegen for Views, #372#428
Conversation
| @@ -0,0 +1,3 @@ | |||
| addSbtPlugin("com.akkaserverless" % "sbt-akkaserverless" % System.getProperty("akkaserverless-sdk.version", "0.7.1")) | |||
| addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.1.0") | |||
There was a problem hiding this comment.
is this as intended, or would akka-grpc be included automatically by sbt-akkaserverless?
There was a problem hiding this comment.
I didn't need it yet in the current scripted test, but when we refactor the 'service call' API's to use Akka gRPC I guess we should pull it in automatically
There was a problem hiding this comment.
Without sbt-akka-grpc it doesn't generate anything (from sbt-akkaserverless)
| @@ -0,0 +1,3 @@ | |||
| addSbtPlugin("com.akkaserverless" % "sbt-akkaserverless" % System.getProperty("akkaserverless-sdk.version", "0.7.1")) | |||
There was a problem hiding this comment.
publishLocal and then version with:
sbt -Dakkaserverless-sdk.version="0.7.1-23-7a6dfec4-SNAPSHOT"
34bf5ed to
6cdc5ff
Compare
|
|
||
| package customer.domain; | ||
|
|
||
| option java_outer_classname = "CustomerDomain"; |
There was a problem hiding this comment.
The generated code in the sample is looking good, aside from that CustomerDomain is different for Scala, but I think @raboof is looking into that problem.
* and starting at scala-value-entity-customer-registry sample
02ad8b9 to
bdb19b6
Compare
|
I have rebased this. Still compilation error for the State references, but that is a know issue. I think we can review/merge this anyway. |
|
I'm merging this |
Doesn't work yet, but sharing...
Refs #372