You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Aaron Spiegel (Jira)" <ji...@apache.org> on 2022/11/08 05:06:00 UTC

[jira] [Created] (AVRO-3664) Add Rust Avro Value conversion derive implementations

Aaron Spiegel created AVRO-3664:
-----------------------------------

             Summary: Add Rust Avro Value conversion derive implementations
                 Key: AVRO-3664
                 URL: https://issues.apache.org/jira/browse/AVRO-3664
             Project: Apache Avro
          Issue Type: New Feature
          Components: rust
            Reporter: Aaron Spiegel


Given the current constraints of the _AvroSchema_ derive macro, it is possible to also derive the following implementations:
{code:java}
impl From<apache_avro::types::Value> for X {...}
impl from<X> for apache_avro::types::Value {...}{code}
With these traits implemented, serialization in Avro becomes considerably simpler, for schemas that are already generated through a derive macro.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)