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

[Rust] Improve Refs workflow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.11.1
    • None
    • None
    • None

    Description

      Working with Refs should be somehow improved. Currently the only "normal" way(AFAIK) to work with them is to build a record, add a field with general type and then in the same record use this type. But let's say I want to reference type that belongs to completely different Schema. How can I do it currently? Maybe I'm missing associated workflow, correct me if I'm wrong.

       

      What I really want is to somehow link related schemas(like through Vec<Schema> or something like that) and be able to`value.validate` and `value.resolve` on that set of schemas.

       

      If it is not possible, that should be somehow reworked, because working with multiple schemas and refs is almost a complete pain currently.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ftelnov Fedor Telnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: