Skip to content

Commit fe42756

Browse files
Update changelogs from fern repo (#593)
Co-authored-by: tstanmay13 <[email protected]>
1 parent 6893f5b commit fe42756

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## 2.42.0
2+
**`(feat):`** Add support for semantic distinction between `nullable<T>` and `optional<T>` types via `use-nullable-annotation` flag.
3+
When enabled, `nullable<T>` generates as raw type `T` with `@Nullable` annotation, while `optional<T>` remains as `Optional<T>`.
4+
This provides proper API semantics for fields that can be null vs those that may be absent from requests.
5+
6+
```yaml
7+
customConfig:
8+
use-nullable-annotation: true
9+
```
10+
11+

0 commit comments

Comments
 (0)