dflemstr / rq

Record Query - A tool for doing record analysis and transformation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protobuf base directory behavior unclear

lucasbru opened this issue · comments

When I try to import the schemas whose base directory is the current directory, the schema path is dropped

rq protobuf add com/bla/admin.proto --base .
[INFO] [record_query::proto_index] Added proto file as "/home/lucas/.local/share/rq/proto/admin.proto"

instead, if the base is not the working directory, it works correctly:

rq protobuf add resources/com/bla/admin.proto --base resources
[INFO] [record_query::proto_index] Added proto file as "/home/lucas/.local/share/rq/proto/com/bla/admin.proto"