Skip to content

Kernel returns copy of object literals, preventing updates from applying #248

Closed

Description

@RomainMuller

As reported in aws/aws-cdk#774, the jsii kernel returns copies of object literals when coalescing them to a particular named type (typically an interface). This makes updates to interface-typed properties not reflect to the object they were obtained from.

A CDK example is when reading options from an @aws-cdk/cdk.Resource instance, and attempting to update it.

Activity

  1. added
    bug
    on Sep 27, 2018
  2. self-assigned this
    on Sep 27, 2018
  3. added a commit that references this issue on Sep 27, 2018
    471deda
  4. added a commit that references this issue on Sep 28, 2018
    61cb3a4
  5. added 3 commits that reference this issue on Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions