-
Notifications
You must be signed in to change notification settings - Fork 58
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
scalapb upgrade #31
scalapb upgrade #31
Conversation
Deploy preview for fs2-grpc failed. Built with commit 62f3bfe https://app.netlify.com/sites/fs2-grpc/deploys/5ba8ad834ed62f5ddde6712b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
They finally renamed some of the pimps but didn't get rid of all of the pimps? 🤦♂️
😁 |
A small change needed. Obviously some scripted tests would benefit here! (comment on scripted tests is a note to myself) |
private[this] def serviceMethodSignature(method: MethodDescriptor) = { | ||
s"def ${method.name}" + (method.streamType match { | ||
case StreamType.Unary => | ||
s"(request: ${method.scalaIn}, clientHeaders: _root_.io.grpc.Metadata): F[${method.scalaOut}]" | ||
s"(request: ${method.inputType}, clientHeaders: _root_.io.grpc.Metadata): F[${method.outputType}]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be ${method.inputType.scalaType}
Same for other cases below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will fix
- upgrade to ScalaPB 0.8.0 - adjust `Fs2GrpcPlugin` and `GrpcServicePrinter` to changes done with respect to `DescriptorImplicits` class that previously was trait `DescriptorPimps`.
@fiadliel done |
upgrade to ScalaPB 0.8.0
adjust
Fs2GrpcPlugin
andGrpcServicePrinter
tochanges done with respect to
DescriptorImplicits
class that previously was trait
DescriptorPimps
.