Home Grails 3 enumType for Set of enums
 How to define a mapping for Set with enumType:'identity' ? In Grails 3.3 enumType become mandatory for Enums with id (for 3.2 it works without any additional definitions). With Enum fields everything works well, but I don't know, how to write a mapping for Set of enums class Test { Set enums static mapping { enums enumType: 'identity' // not works } } enum TestEnum { final int id TestEnum(int value){ ... } }  Any ideas? I know, I can use enumType:'string'. Not a case for me