Closed jrvanderveen closed 1 year ago
@jrvanderveen you are correct!
That's a good catch.
I have since pushed a new patch version 1.10.1
with this fix. Thanks for pointing it out!
Will close the issue now but feel free to reopen it if it is not resolved as you expected.
Awesome! Thanks for the quick turnaround!
I believe the coercion of object attributes is not being enabled correctly for enums.
EX:
Expected:
The colorSchemaObj will have coercionTypeSymbol set to false which leads to using a parsing function that does not return an updated object but instead just looks for validation errors.
Not sure of the implications of this change but I am thinking that updating the EnumType constructor like this would work