flavray / avro-rs

Avro client library implementation in Rust
MIT License
169 stars 95 forks source link

Unions: Support Many Named Types #61

Open jdeschenes opened 5 years ago

jdeschenes commented 5 years ago

As per the Avro spec, it should be possible to have multiple named types in a union. See #60 for a use case.

CtrlC-Root commented 5 years ago

This is a significant limitation in the current implementation of this crate. Between the lack of support for Avro protocols and unions of multiple named types it's pretty much impossible to have a sane schema for IPC. I'll look into adding support for the latter through a pull request but I'm still new to Rust so I'm not sure how much effort that will involve.

CtrlC-Root commented 5 years ago

Actually it seems #76 adds support for this.