We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda3992 commit eef6c98Copy full SHA for eef6c98
src/FSharp.MongoDB.Bson/Serialization/FSharpTypeHelpers.fs
@@ -100,7 +100,7 @@ module private Helpers =
100
#if !NETSTANDARD2_1
101
let nrtInfo = nrtContext.Create(propertyInfo)
102
if nrtInfo.WriteState = NullabilityState.Nullable then
103
- memberMap.SetDefaultValue(null).SetIsRequired(false) |> ignore
+ memberMap.SetDefaultValue(null) |> ignore
104
#else
105
()
106
#endif
0 commit comments