no warnings on enum entity field definition