Hello,

I can imagine this being asked before, but I have a little problem: I need to 
use Thrift to transport recursive (tree-like) data structures. Is this at all 
possible ? Have any efforts been made to implement this functionality ?

To illustrate the use case, this is an example of what I'm trying to achieve:


struct node {
        1:string id,
        2:map <string, node> children
}


And, ofcourse, Thrift generates the error "Type "node" has not been defined".

Any thoughts ?


Regards,

Leon Mergen

Reply via email to