Skip to content

Protobuf base directory behavior unclear #210

@lucasbru

Description

@lucasbru

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions