grpc-web
grpc-web copied to clipboard
resolve protoc ts-protoc-gen warning on version^0.13.0
Changes
protoc --ts_out=service=true:<PATH>
makes deplication warning when proto files are compiled for version 0.11 ~
the warning massage ::
protoc-gen-ts warning: The service=true parameter has been deprecated. Use service=grpc-web instead.
So I change as warning mentioned
Verification
i test it on my local
0.10.0 => NO deprecated error, Can use service=true
& service=grpc-web
0.11.0, 0.12.0, 0.13.0 => Above warning appears when use service=true
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign
in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment