We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: Currently, when we are generating the code for below proto definition in client mode, the generated client looks like the below,
syntax = "proto3"; package helloworld; service Greeter { rpc sayHello(HelloRequest) returns (HelloReply); } message HelloRequest { string name = 1; } message HelloReply { string message = 1; }
GreeterClient ep = check new ("http://localhost:9090"); public function main() { }
The proposed generated client code is add sample call with dummy data like the below,
import ballerina/io; GreeterClient ep = check new ("http://localhost:9090"); public function main() returns error? { // Sample call to the Greeter/sayHello function. HelloRequest helloRequest = {name: "Sam"}; HelloReply helloReply = check ep->sayHello(helloRequest); io:println(helloReply); }
The text was updated successfully, but these errors were encountered:
dilanSachi
Successfully merging a pull request may close this issue.
Description:
Currently, when we are generating the code for below proto definition in client mode, the generated client looks like the below,
The proposed generated client code is add sample call with dummy data like the below,
The text was updated successfully, but these errors were encountered: