Skip to content

v1.3.1: Fixing Bug w/ EnumBase::validValue()

Choose a tag to compare

@AndyM84 AndyM84 released this 21 Nov 00:35
· 5 commits to master since this release

This addresses bad logic (thanks to @superg3m for the find) around the EnumBase::validValue() method. Since we allow enums to have a null value, validValue() needs to allow for null values and immediately declare them as not valid instead of throwing an exception.

Full Changelog: v1.3.0...v1.3.1