There was an error while loading. Please reload this page.
1 parent c539ab3 commit a7a0a68Copy full SHA for a7a0a68
1 file changed
fern/products/sdks/generators/go/changelog/2026-09-14.mdx
@@ -0,0 +1,9 @@
1
+## 1.58.1
2
+**`(fix):`** Preserve required-nullable fields that arrive as `null` when a decoded model is
3
+marshaled again. Generated `UnmarshalJSON` now records which required-nullable
4
+keys were present in the incoming JSON (via a per-type wire-name-to-field-bit
5
+table) so that `MarshalJSON` re-emits them as `null` instead of dropping them.
6
+Fields absent from the input stay absent, and freshly constructed values
7
+(e.g. request bodies) serialize exactly as before.
8
+
9
0 commit comments