Skip to content

FR: Handle deserializing unknown union variants gracefully #157

@ghost

Description

See #129 and #150.

It is possible to configure conjure clients to deserialize unknown union variants as null, but this is not the default and clients are surprised with failures when a new variant is introduced in returned types.

Ideally unknown variants should never fail to deserialize (by default, rather than through a config flag), and the generated client's type annotations should inform that they must be handled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions