tokopedia / gripmock

gRPC Mock Server
Apache License 2.0
659 stars 156 forks source link

mock-server is not running with proto file containing service name as string plus number followed by small letter #128

Open RashmiNarayan opened 1 year ago

RashmiNarayan commented 1 year ago

Proto file snippet:-

syntax = "proto3"; package service.dtype1systems; option go_package = "test/sample";

service Dtype1systems { rpc Method1(exampleRequest) returns(response); } docker run -p 4770:4770 -p 4771:4771 -v /home/usr/mock-servers/protos:/proto -v /home/usr/mock-servers/stubs:/stub tkpd/gripmock --imports="/protobuf,/proto" --stub=/stub /proto/example.proto

/go/src/grpc/server.go:67:2: undefined: sample.Dtype1systems 2022/12/20 07:57:47 exit status 2

but when i am changing the service name to Dtype1Systems . Mock-server is working fine.