Skip to content

Schema.omit collapses union types #5516

@ethanniser

Description

@ethanniser

What version of Effect is running?

No response

What steps can reproduce the bug?

https://effect.website/play#1f5da688e517

What is the expected behavior?

The union type is maintained (see C)

What do you see instead?

The union is collapsed (see B)

Additional information

No response

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