You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should not accept ["hello", null, "world"] unless the type is string option list. If the type is a string list with nulls inside, it should fail.
This has led to nasty NullReferenceExceptions in our backend because the code downstream expected a list of 'a, but the list turned out to contain some nulls.
I'm currently trying to fix it, but I'm unable to use the isNullableFieldType (from Helpers.fs) because the fsOptions: JsonFSharpOptions isn't avaiable in the type JsonListConverter<'T>() etc classes.
The text was updated successfully, but these errors were encountered:
You should not accept ["hello", null, "world"] unless the type is
string option list
. If the type is astring list
with nulls inside, it should fail.This has led to nasty NullReferenceExceptions in our backend because the code downstream expected a list of
'a
, but the list turned out to contain some nulls.I'm currently trying to fix it, but I'm unable to use theisNullableFieldType
(from Helpers.fs) because thefsOptions: JsonFSharpOptions
isn't avaiable in thetype JsonListConverter<'T>()
etc classes.The text was updated successfully, but these errors were encountered: