Kriskras99 commented on issue #517:
URL: https://github.com/apache/avro-rs/issues/517#issuecomment-4137175751

   Your suggestion unfortunately breaks as much as it fixes. With your 
suggestion an enum variant with a primitive type **must** be named like the 
primitive type (empty variant must be named `Null`, variant with i32 must be 
named `Int`). The suggestion I made, does not require that.
   
   If you have trouble keeping your schemas in sync with your types, I do 
suggest using the derive or rsgen-avro. I'm updating the derive in my next PR 
to support enums, and I'm doing rsgen-avro next (or potentially add similar 
functionality direct to this project). That way you don't have to worry about 
the order of your enum variants.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to