pb-jelly icon indicating copy to clipboard operation
pb-jelly copied to clipboard

Too lenghty naming

Open kootenpv opened this issue 4 years ago • 1 comments

I have a proto file called enums.proto

Is there a way not to use it like:

use proto_enums::proto_enums::Error;

but instead generate it with one of the following (or another suggestion)

use proto::enums::Error;
use proto_enums::enums::Error;

kootenpv avatar Nov 07 '21 12:11 kootenpv

Can you provide an example? All the examples in https://github.com/dropbox/pb-jelly/tree/main/examples don't seem to have the pattern you're describing.

For example: https://github.com/dropbox/pb-jelly/blob/main/examples/src/basic/main.rs

nipunn1313 avatar Nov 08 '21 17:11 nipunn1313