From 2d18e2429b3e5d0bdaa8994f6a793cd339ffd9e5 Mon Sep 17 00:00:00 2001 From: Simon Hornby Date: Fri, 25 Oct 2024 14:06:48 +0200 Subject: [PATCH] chore: add deprecation warning to settable json serializer --- src/Unleash/UnleashSettings.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Unleash/UnleashSettings.cs b/src/Unleash/UnleashSettings.cs index 296351d..1b9c2b7 100644 --- a/src/Unleash/UnleashSettings.cs +++ b/src/Unleash/UnleashSettings.cs @@ -103,6 +103,7 @@ public class UnleashSettings /// /// Default: A serializer based on Newtonsoft will be used, given that these assemblies are loaded into the appdomain already. /// + [Obsolete("No longer supported in recent versions of Unleash, will be removed in the next major version", false)] public IJsonSerializer JsonSerializer { get; set; } = new DynamicNewtonsoftJsonSerializer(); ///