• Paul Yang's avatar
    Allow internalAddGeneratedFile to depend on new nested message name (#5629) · 53a1d496
    Paul Yang authored
    Previously, internalAddGeneratedFile has to depend on old non-nested name for sub-messages.
    This creates a hard dependency on old generated code for compatibility usage.
    If user's code has custome error handler, the deprecation warning in the old generated code
    will also be thrown (even though users haven't explicitly depended on the old message name).
    
    To fix this problem, this change added an additional flag in the generated code to tell run
    time that it's safe to use new message name. In this way, internalAddGeneratedFile can safely
    depend on new name and don't trigger unnecessary deprecation warning.
    53a1d496
Name
Last commit
Last update
..
google/protobuf Loading commit data...
solaris Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
libprotobuf-lite.map Loading commit data...
libprotobuf.map Loading commit data...
libprotoc.map Loading commit data...