veiset
09/18/2018, 10:20 AMname
field of an enum. Any ideas how to do that? We are using a validation framework that is pretty strict and wont accept ENUM_NAME
(underscore) from frontend, so I need to annotate the name
-field of an enum to loosen up the validation.gildor
09/18/2018, 10:23 AMveiset
09/18/2018, 10:25 AMname
is a method, so it wont be validated, while in kotlin its a field.gildor
09/18/2018, 10:26 AMveiset
09/18/2018, 10:30 AMname
in a kotlin enum is validated and I have no way to tell the validator how it should validate it.
I'll try to take another approach in solving this.