avro4s
avro4s copied to clipboard
Schema generation: How to make all complex types (records) as top level types?
I'm using case classes as schema, however I'm also generating schema file to share it.
When my complex types are using nested complex types, those types are defined when they first occur. Even when they are reused in other complex types they are defined in the place when they are used for the first time.
My questions is it possible to make Avro4s to generate those complex types as top level types (not the nested one)?
Not possible at the moment, but I want to include this in 5.0