Skip to content

Commit

Permalink
Fixed nullability error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasherceg committed Dec 11, 2022
1 parent 1f5a071 commit 48119e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48119e0

Please sign in to comment.