You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by ringerc <gi...@git.apache.org> on 2018/02/01 14:45:55 UTC

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

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 &self
     }
    ```
    
    Note the `&`.


---