As resolved in HHH-7108 to configurable model It is not working in new ServiceRegistry model.
When it tries to resolve in EnumeratedTypeResolver it should verify if it is a typedef and not only an enum.