Skip to content

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

@RashmiNarayan

Description

@RashmiNarayan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions