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

Enum: fail to import cross packages #82

Open
kostyaBro opened this issue Dec 10, 2019 · 3 comments
Open

Enum: fail to import cross packages #82

kostyaBro opened this issue Dec 10, 2019 · 3 comments

Comments

@kostyaBro
Copy link

Can't generate validator for enum from imported package.

import "package/name/Bar.proto";
message Foo{
    package.name.Bar bar = 1 [(validator.field) = { is_in_enum: true }]; // compilation error
    //  undefined: Bar_name
}

You use function TypeName() but this function not contain the package name.

@leostudio
Copy link

same issue

@WLun001
Copy link

WLun001 commented May 13, 2020

same issue here

@tomtwinkle
Copy link

same issue

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