jdarais commented on issue #70:
URL: https://github.com/apache/avro-rs/issues/70#issuecomment-2692959245

   Hi, thanks for your great work on this library.  I started playing around 
with avro/rust, and ended up creating a PR (#139) that proposes some 
improvements, which would fix this issue as well.  I think the crux of the 
matter is that the schema isn't being used by the serializer.  You're right 
that `Serde` doesn't work with schemas, and no schema information embedded in 
the type being serialized would be exposed to the serializer, but you can 
implement a `Serializer` that contains a schema to reference when serializing 
any value.  That's the approach that my PR takes, though you could likely do 
the same with a `Serializer` that serializes to a a `Value`.


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