Describe the bug
No validation available for enum type fields.
Enum type fields if misconfigured, does not complain but rather just sets the value to be null.
This poses two major issues:
The user thinks they configured a value that does not get propagated when creating the resource.
If the field also happens to have the @Required annotation on it, then it will keep complaining that a value is required even though the user has configured one for that field.
To Reproduce
Gyro up a resource having an enum type field, configured with a value for the field that is not supported by the enum.
Expected behavior
A Clear gyro error stating the misconfigured field, followed by allowed values.
Describe the bug No validation available for enum type fields.
Enum type fields if misconfigured, does not complain but rather just sets the value to be null.
This poses two major issues:
To Reproduce Gyro up a resource having an enum type field, configured with a value for the field that is not supported by the enum.
Expected behavior A Clear gyro error stating the misconfigured field, followed by allowed values.