Skip to content

Rust SDK: Type generator bugs/edge cases #8449

@iamnamananand996

Description

@iamnamananand996

Which Fern component?

SDK Generator

How urgent is this?

P2 - Medium (Would be helpful)

What's the issue?

P.S.: This will not prevent us from further development of the Rust SDK.

This is an issue tracking multiple persistent bugs in the Rust SDK type generator that cause compilation failures in generated code for some of the seed tests.

Child Issues

Test Commands

To reproduce these issues:

cd seed/rust-sdk/unions && cargo check
cd seed/rust-sdk/examples && cargo check
cd seed/rust-sdk/undiscriminated-unions && cargo check
cd seed/rust-sdk/literal && cargo check
cd seed/rust-sdk/circular-references && cargo check
cd seed/rust-sdk/enum && cargo check
cd seed/rust-sdk/exhaustive && cargo check

Expected Outcome

All generated Rust SDKs should compile successfully without manual fixes.

Fern CLI & Generator Versions

No response

Workaround

No response

Are you interested in contributing a fix?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions