Hi,

It would be great if you could support for deriving schema’s which are enums 
with named fields

The code below does not compile

error: AvroSchema derive does not work for enums with non unit structs

If this already in or it will be in, when would you expect to have the crate up 
which would support this?

#[derive(AvroSchema)]
enum CartEvent {
    Added { product_id: u32, quantity: u32 },
    Deleted { product_id: u32 },
    Updated { product_id: u32, quantity: u32 }
}

Reply via email to