Skip to content

Generate product types to contain fallback values for unions #54

Description

@zliu41

Supplying an additional input value to use in the case that the value to be converted from arrays is a non-finite floating-point value gets tricky with unions; we must have a product type that contains a constructor corresponding to each constructor available in the union, because we don't know which constructor we will be in at runtime.

ACs:

  • Automatically generate type definitions for products dual to unions that are defined in kitty protos

  • Automatically generate the corresponding non-finite fallback type hierarchy including these products in place of their unions

(Extricated from https://kitty-hawk.atlassian.net/browse/SW-5707)

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