[GitHub] thrift issue #84: Tree/Recursive struct support in thrift

2018-02-01 Thread ringerc
Github user ringerc commented on the issue: https://github.com/apache/thrift/pull/84 Anyone else facing that issue: workaround is to declare a reference: ``` struct RecSelf { 1: i16 item 2: optional RecSelf } ``` Note the `&`. ---

[GitHub] thrift issue #84: Tree/Recursive struct support in thrift

2018-01-30 Thread ringerc
Github user ringerc commented on the issue: https://github.com/apache/thrift/pull/84 Created as https://issues.apache.org/jira/browse/THRIFT-4484 ---

[GitHub] thrift issue #84: Tree/Recursive struct support in thrift

2018-01-30 Thread ringerc
Github user ringerc commented on the issue: https://github.com/apache/thrift/pull/84 I see a bunch of mutual recursive structure support in the tests, but nothing for an optional single self-referential member, like ``` struct RecSelf { 1: i16 item 2: