[
https://issues.apache.org/jira/browse/AVRO-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537768#comment-17537768
]
ASF subversion and git services commented on AVRO-3518:
-------------------------------------------------------
Commit a38499006478ae5bf50ea035d00737a1acc78891 in avro's branch
refs/heads/avro-3518-use-Name-for-Alias from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a38499006 ]
AVRO-3518: Introduce a new type 'Alias'
It uses Newtype pattern and wraps Name. This way it is easier to control
how it is being (de)serialized
Until now only Schema::Record serialized its aliases to JSON. Now this
is being done for all named schemata (Schema::Enum and Schema::Fixed)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
> Rust: Represent aliases as Name instead of String
> -------------------------------------------------
>
> Key: AVRO-3518
> URL: https://issues.apache.org/jira/browse/AVRO-3518
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently Aliases is an Option<Vec<String>>.
> Since an alias could have a namespace it would be better to use
> apache_avro::schema::Name for it instead of String.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)