Hi Alexander, can you provide a link to the motivating gRPC contract example? Thanks, Jerry
On Friday, January 20, 2023 at 1:19:13 AM UTC-7 Alexander Glukhov wrote: > Hello, I faced with an error when working with protoc for Java. > > The issue was described on > https://github.com/protocolbuffers/protobuf/issues/6987, but the issue > was closed a few months ago. > I've provided some information about reproduction as well as some possible > workarounds for this error in the original issue. > > This problem can easily be solved by using a copy of original proto file, > but this requires maintaining several identical proto files with the same > structure > but with the different message names. > > Personally, the only backward compatible solution I can see is to add an > option that allows you to merge class names for nested classes with the > name of outer class. > > For example, if the outer class has name `Payload`, and the nested class > has name `Payload`, that flag will generate multiple java classes: > `Payload` and `Payload.PayloadPayload`, > instead of `Payload` and `Payload.Payload`. > > I think I can try to implement this feature. > > Regards, > Alexander. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/f2d3f509-16a4-4e70-9ce5-8eb68ca29812n%40googlegroups.com.
