martin-g commented on PR #260:
URL: https://github.com/apache/avro-rs/pull/260#issuecomment-3178833802

   Yes! There is a bug somewhere!
   
   
https://github.com/apache/avro-rs/blob/23a9af70b2db35d9bb30344efeb9012b487e5309/avro/src/schema.rs#L7203-L7226
 produces:
   ```
   fields: [
                                   RecordField {
                                       name: "order_number",
                                       doc: None,
                                       aliases: None,
                                       default: Some(
                                           Null,
                                       ),
                                       schema: Union(
                                           UnionSchema {
                                               schemas: [
                                                   Null,
                                                   String,
                                               ],
                                               variant_index: {
                                                   Null: 0,
                                                   String: 1,
                                               },
                                           },
                                       ),
   ```
   so it seems to be somewhere in the derive macro...


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