Comments (2)
@shikev Hi,
This should definitely work, only if the import is relative to the proto you are loading.
example: if you are trying to load $HOME/project/bookshelf.proto
the imports needs to be located in
$HOME/protject/protos/api
alternatively, if the path is not relative to the protofile, you can use import paths
functionality. Imagine your book.proto
is located in $HOME/common/protos/api/book.proto
you can add as an import path - $HOME/common
.
Here is some reference images #27
from bloomrpc.
Changing it relative imports fixed it, thanks
from bloomrpc.
Related Issues (20)
- Cannot read property indexOf in version 1.5.3 HOT 2
- 1.5.3版本不支持enum类型的protoc-gen-validate验证 HOT 2
- Serialization failure when working with wrapped value JSON representations
- Fails to connect over IPv6
- 1.6.0 Release HOT 2
- New release process HOT 1
- Is there any command line version of this tool? HOT 2
- I got an error when I import multi protos , but can't find where is the problem
- proto use google validate An error occurred
- Web Toggle Button and other items to not appear in toolbar area
- Is it possible to save call records?
- Error "Unknown Content-type received." when linking grpc-gateway using grpc-web
- Error "14 UNAVAILABLE" when call .NET6 API with Http1AndHttp2 support on same port.
- Unable to connect to gRPC server using mutual TLS (mTLS) HOT 1
- google.protobuf.Empty.proto HOT 1
- Add support import/export grcurl HOT 3
- Can't build it on Ubuntu20.04 HOT 1
- metadata fields HOT 1
- "error": "14 UNAVAILABLE: failed to connect to all addresses" HOT 1
- Can't install in Mac M1: hdiutil: attach failed - no mountable file systems
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 bloomrpc.