Skip to content

any() ergonomics and union tuple signature #3183

@Romakita

Description

@Romakita

Objective

Enhance the any() builder to support an additional signature that yields a union of provided types instead of a tuple, e.g., anyUnion(S1, S2, ...).

Details

  • Keep current any() behavior for tuples, but add anyUnion() (or similar) for union use-cases.
  • Document guidance on when to use which.
  • Ensure backward compatibility.

Parent Epic: schema-inference-epic

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions