From 48119e0102aa73b4cdd128c963b859a0a349ff9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Herceg?= Date: Sun, 11 Dec 2022 11:53:48 +0100 Subject: [PATCH] Fixed nullability error --- .../ViewModel/Serialization/CustomPrimitiveTypeJsonConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/Framework/ViewModel/Serialization/CustomPrimitiveTypeJsonConverter.cs b/src/Framework/Framework/ViewModel/Serialization/CustomPrimitiveTypeJsonConverter.cs index ecff551d43..c2002567b5 100644 --- a/src/Framework/Framework/ViewModel/Serialization/CustomPrimitiveTypeJsonConverter.cs +++ b/src/Framework/Framework/ViewModel/Serialization/CustomPrimitiveTypeJsonConverter.cs @@ -22,7 +22,7 @@ or JsonToken.Integer or JsonToken.Float or JsonToken.Date) { - var registration = ReflectionUtils.CustomPrimitiveTypes[objectType]; + var registration = ReflectionUtils.CustomPrimitiveTypes[objectType]!; return registration.ConvertToServerSideType(reader.Value); } else if (reader.TokenType == JsonToken.Null)