Commit 57ebae9
Fix UnmarshalJSON required check for nullable additionalProperties containers (#3762)
When a field is a nullable `map[string]interface{}` (object with additionalProperties),
the template was incorrectly emitting `.IsSet()` which only works on NullableXxx wrapper
types. Use `== nil` instead for additionalProperties container fields.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8dbdab1 commit 57ebae9
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
0 commit comments