avro icon indicating copy to clipboard operation
avro copied to clipboard

allow non-record types at top level

Open rogpeppe opened this issue 5 years ago • 1 comments

Currently the top level type for generated code must be a record. It would be good if it could be other types too (most importantly a union type). The main issue is how the generate command line should work for this.

rogpeppe avatar Jan 22 '20 12:01 rogpeppe

Any update on this, we are unable to serialize unions at the top level. The topic we are writing to accepts a union as described here.

kiharakarua avatar May 24 '23 06:05 kiharakarua