Avro-Schema-Generator icon indicating copy to clipboard operation
Avro-Schema-Generator copied to clipboard

Avro IDL generation?

Open TonyApuzzo opened this issue 11 years ago • 1 comments

Hi,

I've been trying to use this project with a moderately complex XML Schema that has recursive elements (for example, A can-contain B and B can-contain A.) The current code (and .avsc) file format can't handle this. After working on it for a bit, I have come to the conclusion that it isn't trivial with base schema files since they require a fully-ordered non-cyclical dependency tree to compile. However, using the IDL, I've found it is possible to write a single protocol which contains self-referential records, since these are emitted with forward declarations.

Do you have plans to implement IDL code generation instead of Schema generation?

TonyApuzzo avatar Aug 26 '13 17:08 TonyApuzzo

Hi Tony. There were plans to switch to the IDL format (I even made a note) but I'm not sure I will have the time to implement this soon. Thankfully it's open source! Hopefully someone can step in and make the change.

UnquietCode avatar Sep 05 '13 03:09 UnquietCode