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.
> 

Reply via email to