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

How does this library relate to Protoc, and protoc support for ES6 can be requested here? #1244

Open
yl-yue opened this issue May 18, 2022 · 2 comments

Comments

@yl-yue
Copy link

yl-yue commented May 18, 2022

How does this library relate to Protoc, and protoc support for ES6 can be requested here?

@sampajano
Copy link
Collaborator

Hi :)

This library provides an extension to protoc for auto-generating the API stubs.

The protoc for JS proto messages has been recently moved to this location:
https://github.com/protocolbuffers/protobuf-javascript

I'm supposing you could submit your FR over there.

Thanks! :)

@yl-yue
Copy link
Author

yl-yue commented May 19, 2022

Thanks for the reply, looking forward to using ES6 import in grpc-web

Due to the current vue2 upgrade to vue3, and the selection of UI framework must use ES6 specification, resulting in the current temporary abandoned grpc-web, using GRPC gateway to JSON request, currently launched in the browser is HTTP1.1 JSON request, rather than GRPC protocol Protobuf serialization

Therefore, we would prefer to use grpc-web to serialize GRPC requests with Protobuf rather than go back to the original HTTP + JSON approach.

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