adamw7 / tools

code generation and data oriented tools
MIT License
5 stars 1 forks source link

Bug: 2 different protos in one package with same field names go into name clash #16

Closed adamw7 closed 1 year ago

adamw7 commented 1 year ago

If there is a required field called 'name' in 2 proto files the generated code will generate 2 NameIfcs and NameImpls that cannot coexist in one package

adamw7 commented 1 year ago

Fixed by qualifying interface and implementation names with class name