tanmaykm / Thrift.jl

Thrift for Julia
Other
27 stars 14 forks source link

Use generate_forward_declaration to allow co-recursive structs #75

Open zickgraf opened 2 years ago

zickgraf commented 2 years ago

Similar to Thrift commit c34653f75106fbe20293ddfd5b07f74772891a6d. generate_jl_struct now really generates only the structs while generate_jl_thrift_spec generates the implementation. The former is called by generate_forward_declaration while the later is called as before, i.e. by generate_struct and generate_xception.

Is this the correct place to create the PR, or should I create it at https://github.com/tanmaykm/thrift?