avrodoc icon indicating copy to clipboard operation
avrodoc copied to clipboard

Nested schemas not processed in proper order

Open cory-p-oncota opened this issue 10 years ago • 1 comments

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.

cory-p-oncota avatar Dec 15 '15 21:12 cory-p-oncota

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.

kalosoid avatar Feb 21 '17 17:02 kalosoid