Skip to content

In certain cases it is not possible to downcast IConstruct to Construct #16

@eladb

Description

@eladb

The way nodes are associated with constructs breaks a use case where IConstruct objects would be treated as Construct objects through downcasting.

See aws/aws-cdk#6885

Granted, down-casting is against the "contract" of the API, but it still exists in a few places in the AWS CDK is already a stable product, and therefore we have to figure out a way to enable this use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions