Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
323 stars 44 forks source link

fix #164: NRE on deserializing missing field with JsonIgnoreCondition.WhenWritingNull #166

Closed Tarmil closed 11 months ago

Tarmil commented 12 months ago

Fixes #164.

This MR includes the regression test from #165.

It also fixes a few tests that should have been failing, but passed thanks to this bug.

cc @mlaily

mlaily commented 12 months ago

Wow nice, the fix was a lot simpler than I anticipated!

Thank you :)