Theodlz opened a new issue, #435:
URL: https://github.com/apache/avro-rs/issues/435

   Hi! I have a a top-level struct, for which a couple of its fields are 
structs themselves, of the same type. When using get_schema(), it looks like 
the result is a schema for that top-level struct, it contains multiple 
instances of a type definition (generated by these multiple fields of the same 
struct type), i.e. an invalid schema. Thereafter, the writer fails to 
serializes (I am using `append_ser`, with the newly added serde API).
   
   In other - perhaps simpler words - I think there is some issue where the 
schema inferred from structs that derive `AvroSchema` don't do a great job at 
figuring out that a type is defined multiple times (in which case it should 
remove all but the first instance of that type definition).


-- 
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