Thrift generates files with new compiler name classes differently
I updated my thrift compiler to the latest version and it seems to have named the classes differently in the generated code than before. T_User_UserBase
becomes UserBase
. Of course, I have a lot of references to the original class names in my code, and I am wondering if there is a way to force lean to generate custom prefixed class names?
source to share
Several tickets have been held related to different types of reserved words in all possible languages supported. Also, there were other modifications like the ones you linked.
As a result, some things have changed regarding the generated code in the past, even since 2012, and will likely change as needed in the future.
Not to say that compatibility isn't an issue, that's for sure. But in some cases, potentially disruptive changes are needed, even if they try to minimize them.
source to share