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

   If you have existing schema that you're trying to match, I would suggest 
using [rsgen-avro](https://github.com/lerouxrgd/rsgen-avro). It allows you to 
overwrite types with newtypes.
   
   If you do not have existing schema, why not just use whatever 
`#[derive(AvroSchema)]` generates? It will generate a new `Record` for 
`CutoutBytes` with only one field, but you won't be able to tell the difference 
after serialisation.


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