We left Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

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...)