ngx-grpc icon indicating copy to clipboard operation
ngx-grpc copied to clipboard

Option to configure custom module paths

Open pixlcrashr opened this issue 3 years ago • 11 comments

Hi there!

Is it currently possible to provide a custom module path to a protobuf package?

For example, when generating e.g. Go or C# files, it is possible to specify a custom module location/namespace using options:

syntax = "proto3";

package my.package;

option go_package = "github.com/my/package";
option csharp_namespace = "Protobuf.My.Package";

// and this is what I imagine for ngx-grpc:
// option ngx_module = "@my/package";
...

If this is already implemented, please tell what the regarding option is called and if it is not implemented, would you like to do so?

Best regards, Vincent

pixlcrashr avatar Apr 02 '21 12:04 pixlcrashr