GitHub user Eliyahu-Machluf opened a pull request: https://github.com/apache/avro/pull/167
enable getting schema enum size (i.e. number of symbols at enum schema). enable getting enum size (i.e. number of symbols at enum schema). This is needed to enable validating that later when using the instance and setting a value we are not setting out of range value. this is needed as internally enum instance is keeps its value as int, without doing any check on it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Eliyahu-Machluf/avro enable_get_enum_size Alternatively you can review and apply these changes as the patch at: https://github.com/apache/avro/pull/167.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #167 ---- commit 830fcc1f3271c7e977356e7e501f4ae3a03749f4 Author: Eliyahu-Machluf <eliyahu.mach...@attunity.com> Date: 2016-12-01T09:59:14Z enable getting enum size (i.e. number of symbols at enum schema). This is needed to enable validating that later when using the instance and setting a value we are not setting out of range value. this is needed as internally enum instance is keeping its value as int, without doing any check on it. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---