thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ringerc <...@git.apache.org>
Subject [GitHub] thrift issue #84: Tree/Recursive struct support in thrift
Date Thu, 01 Feb 2018 14:45:55 GMT
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 `&`.


---

Mime
View raw message