-
Notifications
You must be signed in to change notification settings - Fork 22
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
Not able to interpret imports from proto #13
Comments
Hi @maddypj I've added support for loading nested Protobuf file, and your problem should be solved. Please download the latest code, and have a try. However, in order to load standard proto files, you need to copy these standard .proto files to
If you still have any problem with redis-protobuf, feel free to let me know :) Regards |
Hello Sewenew, Yes it works!! Thank you for fixing it promptly! Regards |
Hello,
I am trying to run redis with redis-protobuf ( compiled from source)
I am able to run the module fine if the proto files are in flat directory structure.
It doesn't work in the following case-
I am trying load protofiles from nested directory structure. The base path is given in --dir option when loading the redis module.
loadmodule <redis-protobuf so path> --dir /a/b/c/
All the protos are located under c
p1.proto has an import
import "d2/p3.proto"
Any of the schemas defined in the given directory structure are not getting loaded.
Same is true with standard protos like "google/protobuf/wrappers.proto"
I am new to redis-protobuf, any help appreciated. Thanks in advance
Mj
The text was updated successfully, but these errors were encountered: