thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Modify the design of RPC framework?
Date Fri, 28 Sep 2012 17:13:18 GMT
You should never modify the generated code by hand.  Implement them in a
separate file.

On Fri, Sep 28, 2012 at 1:07 PM, Nan Zhu <zhunansjtu@gmail.com> wrote:

> Hi, all
>
> I met a question during my development using Thrift
>
> e.g. at the beginning of the project, I generate the c++ code from
> ".thrift" file, and then I work on those RPC callees to implement them,
> after that, I found I need to add another callee to the system, I modify
> the .thrift file and generate the C++ code again,
>
> how should I merge the new version of generated code with my implemented
> version? do I need to copy the related part manually(e.g. new callee
> declaration)?
>
> Thank you!
>
> Best,
>
> --
> Nan Zhu
> School of Computer Science,
> McGill University
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message