Avro-Schema-Generator
Avro-Schema-Generator copied to clipboard
Avro IDL generation?
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?
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.