Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find any service in proto file #46

Open
jnorkus opened this issue Dec 21, 2017 · 3 comments
Open

Unable to find any service in proto file #46

jnorkus opened this issue Dec 21, 2017 · 3 comments

Comments

@jnorkus
Copy link

jnorkus commented Dec 21, 2017

Whenever I add an import to the proto file, grpcc can't find any service.
e.g. import "google/protobuf/field_mask.proto";

I haven't tested or debugged it any further but my guess is that it only checks the imported proto definition as it doesn't have any services in it.

@rocketraman
Copy link

+1

@turboezh
Copy link

I guess, grpcc can't handle enums outside of messages.

message Foo {
    enum Status {
        OK = 0;
        ERROR = 1;
    }
    Status status = 1;
}

works fine. But

enum Status {
    OK = 0;
    ERROR = 1;
}

message Foo {
    Status status = 1;
}

gives Unable to find any service in proto file.

@qlodhi-clearlabs
Copy link

Still happens in grpcc 1.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants