You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Anait Markosian <am...@lyris.com> on 2011/05/24 22:38:07 UTC

Cyclic structs

Is there any workaround for cyclic structs  in thrift? What do you do if a stract has to contain itself?

-Ana

Re: Cyclic structs

Posted by Richard Salz <rs...@us.ibm.com>.
> Is there any workaround for cyclic structs  in thrift? What do you 
> do if a stract has to contain itself?

You can't do it.  You have to come up with a representation that 
"flattens" it out.
--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/