protocol-buffers icon indicating copy to clipboard operation
protocol-buffers copied to clipboard

hprotoc does not resolve package-qualified names

Open schernichkin opened this issue 6 years ago • 0 comments

Consider Mesos maintenance.proto. It imports package allocator.proto (import "mesos/v1/allocator/allocator.proto"; at line 21) and uses package-qualified name to access message from it (repeated allocator.InverseOfferStatus statuses = 2; at line 82).

It seems hprotoc unable to resolve such name. However if name replaced with fully-qualified name (e.g. repeated mesos.v1.allocator.InverseOfferStatus statuses = 2;) it works fine.

schernichkin avatar Nov 26 '18 14:11 schernichkin