You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Suraj Acharya (JIRA)" <ji...@apache.org> on 2017/07/29 18:41:00 UTC

[jira] [Updated] (AVRO-1608) Deprecate mutator methods on Schema

     [ https://issues.apache.org/jira/browse/AVRO-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Acharya updated AVRO-1608:
--------------------------------
    Fix Version/s:     (was: 1.7.8)
                   1.7.9

> Deprecate mutator methods on Schema
> -----------------------------------
>
>                 Key: AVRO-1608
>                 URL: https://issues.apache.org/jira/browse/AVRO-1608
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.7
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 1.7.9
>
>         Attachments: AVRO-1608.patch, AVRO-1608.patch
>
>
> This is a follow on to AVRO-261. It would be good to deprecate JsonProperties#addProp, Schema#addAlias, and Schema.Field#addAlias, and remove them in 1.8.0. Instead users should use SchemaBuilder, or we could also provide overloaded variants of the factory methods on Schema to specify properties and aliases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)