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 99070a0 commit a79ec1aCopy full SHA for a79ec1a
1 file changed
fern/products/sdks/overview/rust/changelog/2026-03-22.mdx
@@ -1,3 +1,11 @@
1
+## 0.26.1
2
+**`(fix):`** Fix convenience constructors for union variants whose optional fields have nested
3
+optional/nullable IR wrappers (e.g. `optional<nullable<string>>` from OpenAPI).
4
+Previously only one layer was unwrapped, leaving the parameter as `Option<T>` instead
5
+of `T`, which caused `E0308 mismatched types` compilation errors. Now all
6
+optional/nullable layers are stripped to produce the correct bare type.
7
+
8
9
## 0.26.0
10
**`(feat):`** Generate convenience constructors for discriminated union variants with optional fields.
11
For each optional field in an inlined variant, a `{variant}_with_{field}` constructor is
0 commit comments