[ 
https://issues.apache.org/jira/browse/AVRO-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647896#comment-13647896
 ] 

Christophe Taton commented on AVRO-1315:
----------------------------------------

That looks great.
If validator and strategy implementations are hidden, I would probably want 
factory methods for those, to allow me to write custom ones that combine with 
those.
Maybe we could add a validator and a strategy that combines a set of 
validators/strategies.

Other than that, the interfaces look good to me.

For instance, here are some validators or strategies I may want to build in the 
future:
 - enfore some schema style (eg. make sure new fields are optional/have default 
values);
 - ensure fields that have been removed are not inadvertently resurrected 
(that's a reason why I may want to actively remove former schemas).

                
> Java: Schema Validation utilities
> ---------------------------------
>
>                 Key: AVRO-1315
>                 URL: https://issues.apache.org/jira/browse/AVRO-1315
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Scott Carey
>            Assignee: Scott Carey
>             Fix For: 1.7.5
>
>         Attachments: AVRO-1315.patch
>
>
> As part of AVRO-1124 we needed Schema Validation utilities.  I have separated 
> those out of that ticket as a stand-alone item.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to