Node.js Thrift compiler fails to generate server code using inheritance
-----------------------------------------------------------------------

                 Key: THRIFT-1434
                 URL: https://issues.apache.org/jira/browse/THRIFT-1434
             Project: Thrift
          Issue Type: Bug
          Components: JavaScript - Compiler
    Affects Versions: 0.7
         Environment: Ubuntu 10.04 LTS, MacOS X 10.5
            Reporter: Ken Wronkiewicz


Test case to be attached.

If I create a service B that extends a service A, the client code is correctly 
generated such that the user could create a client of service B and use the 
functions provided by service A.

However, if I try to create a server for service B, it will not expose 
functions used by service A.

Attached test case, written in node.js, has good-server.js and bad-server.js, 
where bad-server.js implements the child service and good-server.js which 
implements the parent service.  test.js will try to connect and print out the 
error message and build.sh will rebuild the thrift generated code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to