grpc-web icon indicating copy to clipboard operation
grpc-web copied to clipboard

Is there a proto-loader for gRPC-web?

Open Ben-Avrahami opened this issue 1 year ago • 1 comments

For gRPC there is a proto-loader to generate the protobuf files. But I am wondering if there is something similar for gRPC-web, (helloworld_grpc_web_pb.js, helloworld_pb.js) instead of having to download the protoc plug-in and having to generate it through the terminal.

Thanks

Ben-Avrahami avatar Feb 28 '24 17:02 Ben-Avrahami

@Ben-Avrahami Hi, Thanks for reaching out!

I don't believe there is any change since what was mentioned in https://github.com/grpc/grpc-web/issues/733 (which you had also commented on).

I'm not too familiar with proto-loader and not exactly sure how it could benefit grpc-web, could you try to explain the use case you have in mind?

From what i understand, like what's mentioned in https://github.com/grpc/grpc-web/issues/733, since grpc-web is used for generating a static javascript library to be used on the client side, i'm not clear how dynamic loading of proto would help.

sampajano avatar Feb 28 '24 23:02 sampajano

Closing for now. Feel free to re-open and follow up later if there are more updates. Thanks!

sampajano avatar Jun 13 '24 19:06 sampajano