No, it does not. We support inheritance of service interfaces,
but only composition/containment for structures.
--David
Tomer Shiran wrote:
> Does Thrift support struct inheritance? For example, can I have something
> like:
>
> struct Person {
> 1:string name
> }
>
> struct Employee {
> 1:string wage
> }
>
> Where Employee would be a subclass of Person? I think that the languages
> that Thrift addresses all support inheritance, so I was wondering if Thrift
> has this capability.
>
>
> Thanks,
> Tomer
>