ept / avrodoc

Documentation tool for Avro schemas
Apache License 2.0
148 stars 82 forks source link

Nested schemas not processed in proper order #22

Open cory-p-oncota opened 8 years ago

cory-p-oncota commented 8 years ago

It appears that currently named types are processed in alphabetical order, so any nested type which has not yet been processed will fail due to the type not yet being defined.

I've solved a similar problem in my own repositories using the dependency-graph module and would be glad to contribute here.

Thoughts? If not, I'll begin work on the changes.

kalosoid commented 7 years ago

any chance you have pushed your changes to a branch or a fork? Here is a good reference example

https://blog.woopi.org/wordpress/?p=154

Here is the error i get when i run the app :

Uncaught Unknown type name "org.woopi.avro.CompoundSubTypeExtended" with namespace org.woopi.avro at field2.org.woopi.avro.CompoundSubTypeExtended.