-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling circular type definitions #3
Comments
I would check if https://github.com/eleme/thriftpy handles circular types. I am guessing that not. Anyway, I think it would be possible to implement it. I would also start from contributing the change to thriftpy. |
thriftpy has this as an open issue as well |
It has already been solved in thriftpy2, thanks! |
Thanks for letting us know @ethe! @marekjagielski How are you generating the R code from the Python code? Is it something I can help with? I'd love to give thriftr another chance, as I'd love to avoid wrapping the Python thrift library using |
@randyzwitch , I am happy that you are willing to contribute. I will be busy next 2 months, so I will not be able to code on thriftr. |
#3 Handling circular type definitions
There are some bugs in ThriftPy handling out-of-order definitions, see Thriftpy/thriftpy2#42 and get more information. |
@ethe Thank you! |
issue #3 introduce fix 41 from thriftpy2
The Thrift spec allows for circular type definition; this currently throws an error (I presume from top-down parsing of the .thrift file)
Result:
The text was updated successfully, but these errors were encountered: