So it is better to adopt Thrift at the beginning of project. Thrift can not be used for legacy system, except you change the API.
On Thu, Mar 4, 2010 at 11:48 PM, David Reiss <[email protected]> wrote: > You cannot do this, since Thrift will not know how to serialize it, > and clients written in other programming languages will not know how > to interpret it. > > Jeff Zhang wrote: > > Hi all, > > > > I'd like to provide a thrift interface for my tool. And in the service > > interface I need to return a customized type. But it seems that thrift > only > > support return its own type system, or the types composite with the > thrift's > > type system. My case is that the customized type has already exist it in > my > > system, how can I wrap it to make thrift support it ? > > > > Thanks for any help. > > > -- Best Regards Jeff Zhang
