Serializer settings TypeNameHandling.All ignored in production

Hello!

My serializer settings are ignored in production:

.UseSerializerSettings(new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.All }

In dev environment everything works fine. Any ideas why?

The issue was fixed by using GlobalConfiguration.Configuration.UseSerializerSettings instead of services.AddHangfire(cfg => cfg...)