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
I’ve noticed that the protobuf files generated by the tool are significantly large. Upon investigation, I found that each generated proto file redundantly includes the entire content of imported protos. As a result, this duplicated data is present in every single file, leading to bloated file sizes.
Expected Behavior: It would be more efficient if the imported protos were separately generated as standalone code, and other protos could reference them instead of duplicating the information within each file.
The text was updated successfully, but these errors were encountered:
My proto file includes common.proto, which is a file containing many structures. Other protocol files reference this file through import, resulting in all the generated files containing this information. As a result, the size of the generated files has become quite large
I’ve noticed that the protobuf files generated by the tool are significantly large. Upon investigation, I found that each generated proto file redundantly includes the entire content of imported protos. As a result, this duplicated data is present in every single file, leading to bloated file sizes.
Expected Behavior: It would be more efficient if the imported protos were separately generated as standalone code, and other protos could reference them instead of duplicating the information within each file.
The text was updated successfully, but these errors were encountered: