godatadriven / pydantic-avro

This library can convert a pydantic class to a avro schema or generate python code from a avro schema.
https://github.com/godatadriven/pydantic-avro
MIT License
60 stars 30 forks source link

Add support for multi-type unions. #54

Closed enifsieus closed 1 year ago

enifsieus commented 1 year ago

This commit adds support for multi-union types, while preserving the generation of optional types for unions that are only null + a single type.

enifsieus commented 1 year ago

Greetings - I'm wondering if this is a pull request that anyone is interested in discussing. Thanks!

ffinfo commented 1 year ago

Sorry missed out some notifications on this project, will look into this. Sorry for the delay.

ffinfo commented 1 year ago

@enifsieus thanks for this, just merged this, will release this soon