Skip to content
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

Is there a proto-loader for gRPC-web? #1406

Open
Ben-Avrahami opened this issue Feb 28, 2024 · 1 comment
Open

Is there a proto-loader for gRPC-web? #1406

Ben-Avrahami opened this issue Feb 28, 2024 · 1 comment

Comments

@Ben-Avrahami
Copy link

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

@sampajano
Copy link
Collaborator

@Ben-Avrahami Hi, Thanks for reaching out!

I don't believe there is any change since what was mentioned in #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 #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants