Shabab Ayub created AVRO-2130:
---------------------------------
Summary: [RUBY] QUESTION: Is Avro::SchemaValidator class
accessible in version 1.8.2?
Key: AVRO-2130
URL: https://issues.apache.org/jira/browse/AVRO-2130
Project: Avro
Issue Type: Task
Components: ruby
Affects Versions: 1.8.2
Reporter: Shabab Ayub
Fix For: 1.8.2
Attachments: image-2018-01-15-22-25-27-964.png
I can't seem to access `Avro::SchemaValidator.validate!()` in the current
version 1.8.2. I was wondering if this class is being made public in a future
version or am I missing something in how I use it? It seems that it is not one
of the accessible classes from the Avro module, if this is the case, I was
wondering what the reason for this would be?
I figured doing
```
require 'avro'
Avro::SchemaValidator.validate!(schema, data)
```
Would be enough.
I was interested in the ValidtionError class to return specific error messages.
file:
https://github.com/apache/avro/blob/master/lang/ruby/lib/avro/schema_validator.rb
Thank you!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)