You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Richard Salz <rs...@us.ibm.com> on 2011/09/08 20:38:23 UTC

multiple levels of service extends ?

Can I have multiple "levels" of service extend'ing ?  That is:

base.thrift:
        service base   { ... }

cmu.thrift:
        #include "base.thrift"
        service configConsumer extends base.base  { ... }

net.thrift:
        #include "cmu.thrift"
        service network extends configConsumer.configConsumer { ... }

But any attempts to call an operation in base or cmu seem to get the wrong 
method, and any integer gets a value that looks like a pointer.

Are we doing something unsupported?

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/