Closed lilhammer111 closed 10 months ago
kitex -module xxx -service xxx -thrift code_ref xxx.thrift
Yes, it works! Thanks
copy rogers @.***> 于2023年12月14日周四 10:38写道:
kitex -module xxx -service xxx -thrift code_ref xxx.thrift
— Reply to this email directly, view it on GitHub https://github.com/cloudwego/cloudwego.github.io/issues/892#issuecomment-1855018281, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BGWHHPXWGEKBZOXOOGUTDYJJRCFAVCNFSM6AAAAABAUCZODWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGAYTQMRYGE . You are receiving this because you authored the thread.Message ID: @.***>
I generate my structures in remote repository in advance, and then created my idl-ref.yml file in the same directory as the idl file in my local project.Everything is ready. I executed the command like
kitex --module xxx xxx.thrift
in the directory of idl-ref.yml,but got the original code generated by kitex instead of a reference. What went wrong? Here is myidl-ref.yml
file: