Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions fern/products/sdks/generators/rust/changelog/2026-11-02.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## 0.53.6
**`(fix):`** Drop the discriminant property from inlined discriminated-union variants. When a variant's object
also declared the discriminant (e.g. an OpenAPI `allOf` member with `protocol: const: API`), the
inlined variant got a `protocol` field next to `#[serde(tag = "protocol")]`, which fails to compile
with "variant field name `protocol` conflicts with internal tag". The variant's generated constructors
no longer take a parameter for the discriminant; serde writes it from the tag.


Loading