You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syntax="proto3";
// note that this package starts with com.foo, while the other package starts with foo directlypackagecom.foo.bar;
import"annotations.proto";
messageBar {
option(foo.owner)="com.foo.bar";
stringfield=1;
foo.Foofield2=2;
}
protoc.sh will give error
foo.proto:10:5: "foo.Foo" is resolved to "com.foo.Foo", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".foo.Foo") to start from the outermost scope.
I created a protoxyc.py and build.rs using protox and protobuf_codegen
The three will happily accept the incorrect protobuf files.
The text was updated successfully, but these errors were encountered:
tardyp
added a commit
to tardyp/protox
that referenced
this issue
Aug 26, 2024
on following test repository:
https://github.com/tardyp/protox_resolution_issue
protoc.sh will give error
foo.proto:10:5: "foo.Foo" is resolved to "com.foo.Foo", which is not defined. The innermost scope is searched first in name resolution. Consider using a leading '.'(i.e., ".foo.Foo") to start from the outermost scope.
I created a protoxyc.py and build.rs using protox and protobuf_codegen
The three will happily accept the incorrect protobuf files.
The text was updated successfully, but these errors were encountered: