[ https://issues.apache.org/jira/browse/THRIFT-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zezeng Wang reassigned THRIFT-5189: ----------------------------------- Assignee: Zezeng Wang > C++: Improve the namespace format of the code which generated by the thrift > compiler > ------------------------------------------------------------------------------------ > > Key: THRIFT-5189 > URL: https://issues.apache.org/jira/browse/THRIFT-5189 > Project: Thrift > Issue Type: Improvement > Components: C++ - Compiler > Reporter: Zezeng Wang > Assignee: Zezeng Wang > Priority: Minor > > test.thrift as below: > namespace cpp AAAAAA.BBBBBB.CCCCCC.DDDDDD.EEEEEE.FFFFFF > struct a { > 1: i32 id, > 2: string message > } > the compiler will generate cpp namespace code(in test_types.h) as: > namespace AAAAAA { namespace BBBBBB { namespace CCCCCC { namespace DDDDDD { > namespace EEEEEE { namespace FFFFFF { > expected: > Maybe we can let the compiler has the option to choose which format of > namespace to use, > not only the current one. > one possible option maybe : > namespace AAAAAA { > namespace BBBBBB { > namespace CCCCCC { > namespace DDDDDD { > namespace EEEEEE { > namespace FFFFFF { > ...... -- This message was sent by Atlassian Jira (v8.3.4#803005)