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 6893f5b commit fe42756Copy full SHA for fe42756
fern/products/sdks/overview/java/changelog/2025-08-25.mdx
@@ -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