I added this question to the FAQ. Hope you didn't mind, David.
http://wiki.apache.org/thrift/FAQ
On Tue, Jun 10, 2008 at 8:43 PM, David Reiss <[EMAIL PROTECTED]> wrote:
> 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
> >
>