Comments (5)
i make a hacky one: https://github.com/chakming/grpcc
- according to discssion here, grpc usage could be
grpc.load({root:'your/root', file: 'your/file'})
which help to load multiple files - if load multiple proto at the same time and those package names are different, we need to have a power to let people choose the package name. I've implemented it with
inquirer
from grpcc.
you can try the version with the following:
npm install -g git://github.com/chakming/grpcc.git#master
so to install a specific npm repo from github- run the command with one more directory (didn't make a default one = pwd yet) with protos under same directory:
grpcc --proto helloworld.proto --directory $(pwd) --addess 127.0.0.1:3466 --insecure
from grpcc.
@chakming nice one! Would you want to do a PR to the main branch? Would love to have this part of a fix-up release I'd like to do by the weekend.
from grpcc.
sure i'd love to, just updated to fix the ci tests too
from grpcc.
I pushed up v0.0.3
to npm just now, with your work included. Thank you!
from grpcc.
Related Issues (20)
- TypeError [ERR_INVALID_ARG_TYPE]: The "options.filename" property must be of type string. Received type object HOT 10
- Error: 14 UNAVAILABLE: Connect Failed HOT 1
- Can't install HOT 3
- Cann't find 'node-v57-darwin-x64-unknown/grpc_node.node' module HOT 1
- Passing client id and secret HOT 1
- Provide authority value when connecting
- Error: Could not load file "[object Object]" HOT 4
- Error installing on macOS HOT 10
- Could not load file "[object Object]" HOT 10
- DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead HOT 2
- Support non-protobuf message formats like Avro
- Needs deps updates HOT 4
- error: param value changed
- Lagom.GRPC with GRPCC: Error: 14 UNAVAILABLE: TCP Read failed HOT 1
- Error: no such type: X
- Path prefix to server address HOT 2
- Add support for describe the message
- Inline streaming calls improve documentation
- error": "14 UNAVAILABLE: DNS resolution failed"
- How to get list of method and service from proto file like in BloomRPC?
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 grpcc.