Comments (4)
the cli uses protoreflect library that already embeds the following files:
"google/protobuf/any.proto",
"google/protobuf/api.proto",
"google/protobuf/compiler/plugin.proto",
"google/protobuf/descriptor.proto",
"google/protobuf/duration.proto",
"google/protobuf/empty.proto",
"google/protobuf/field_mask.proto",
"google/protobuf/source_context.proto",
"google/protobuf/struct.proto",
"google/protobuf/timestamp.proto",
"google/protobuf/type.proto",
"google/protobuf/wrappers.proto",
additional imports can be passed to the cli using --protoimports
option. Does it make sense?
from grpc-client-cli.
Yes, it is good to know, thank you very much.
What about stuff under google/api
and protoc-gen-openapiv
?
That is used by https://github.com/grpc-ecosystem/grpc-gateway to generate a HTTP gateway for your gRPC endpoints, it is quite useful.
from grpc-client-cli.
I don't have immediate plans to embed anything else except well-known types. Considering you can still pass them using --protoimports
option it shouldn't be a blocker.
from grpc-client-cli.
@vadimi it is not a blocker.
It was very good to know that the lib already includes the must used ones, it solves most of the cases.
Thank you very much for the tool and your quick response.
Would you be open to a change like that as a pull request?
from grpc-client-cli.
Related Issues (20)
- support tls connections HOT 5
- implement client streaming calls
- support calling services without reflection service exposed
- implement bi-directional streaming calls
- Handle input in protobuf debug format HOT 12
- Enhance -format option - allow splitting of input and output HOT 1
- Eureka secure port usage HOT 2
- Usage of this as a library HOT 2
- servicemeta_proto-GetServiceMetaDataList context parameter is useless HOT 2
- --insecure does not work HOT 1
- M1 support HOT 2
- how to use protoimports HOT 4
- the result is not camelCase HOT 2
- --service option does not seem to work HOT 3
- Handful of CVEs detected in vulnerability scanner HOT 3
- Imports does not work HOT 2
- Error: Unexpected <class 'AttributeError'>: 'NoneType' object has no attribute 'unary_unary' HOT 6
- [Question] How to add metadata to requests? HOT 4
- Seems like custom Headers are not sent HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-client-cli.