Skip to content

Axis should be a subtype of IXYZ #231

@thierry-martinez

Description

@thierry-martinez

Currently, Axis and IXYZ are defined as two distinct Enum types, leading to a preference for IXYZ in contexts where Axis would be more appropriate but would require an undesirable cast. See this discussion for instance.

Ideally, we should redefine IXYZ as Literal[I] | Axis.

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions