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

ASF subversion and git services commented on AVRO-2800:
-------------------------------------------------------

Commit 9c80782e3df8f025726ef6d7ccbba4817482082d in avro's branch 
refs/heads/master from Chris Hoffman
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=9c80782 ]

AVRO-2800: Validate enum symbol values (#855)

* AVRO-2800 Actually validate enum symbol values

Also added a test for duplicate symbols because there wasn't one.

* AVRO-2800 Allow Ruby enum symbol validation to be disabled

I also renamed Avro::Schema::EnumSchema::SYMBOL_PATTERN to SYMBOL_REGEX to
better fix the existing naming conventions for regex constants.

> Symbol values aren't validated in Ruby
> --------------------------------------
>
>                 Key: AVRO-2800
>                 URL: https://issues.apache.org/jira/browse/AVRO-2800
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: ruby
>            Reporter: Chris Hoffman
>            Priority: Minor
>
> Similar to https://issues.apache.org/jira/browse/AVRO-2645 symbol values 
> aren't validated according to the [A-Za-z_][A-Za-z0-9_]* regex provided by 
> the specification.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to