We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namespace cpp Net.Ping struct PingData { 1: i32 src = 0; 2: i32 dst; 3: i32 payload; }
include "define.thrift" // namespace of cpp code namespace cpp Net.Ping typedef define.PingData SPingData_t; service TPingService { void ping(); i32 payload(1: define.PingData data); }
生成代码如下:
#pragma once #include "srpc/rpc_thrift_idl.h" #include "define.thrift.h" namespace Net { namespace Ping { typedef Net::PingData SPingData_t;; ...
代码生成应为Net::Ping::PingData, 实际为Net::PingData, 只取了第一层namespace
Net::Ping::PingData
Net::PingData
The text was updated successfully, but these errors were encountered:
多谢报bug。我们修一下。
Sorry, something went wrong.
#393 可以看一下这个修改。
@Barenboim 多谢快速回复,确认此修复有效
No branches or pull requests
生成代码如下:
代码生成应为
Net::Ping::PingData
, 实际为Net::PingData
, 只取了第一层namespaceThe text was updated successfully, but these errors were encountered: