Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3664

Add Rust Avro Value conversion derive implementations

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • rust

    Description

      Given the current constraints of the AvroSchema derive macro, it is possible to also derive the following implementations:

      impl From<apache_avro::types::Value> for X {...}
      impl from<X> for apache_avro::types::Value {...}

      With these traits implemented, serialization in Avro becomes considerably simpler, for schemas that are already generated through a derive macro.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spiegela@gmail.com Aaron Spiegel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m