winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.97k stars 196 forks source link

Cannot modify Wing Console display attributes of classes extending non-Wing constructs #6629

Closed Chriscbr closed 3 months ago

Chriscbr commented 3 months ago

I tried this:

bring "cdktf" as cdktf;
bring cloud;

class Foo extends cdktf.TerraformOutput {
  new() {
    super();
    nodeof(this).hidden = true;
  }
}

new Foo();

This happened:

When I run "wing run" I see "Foo" as a node

I expected this:

I expected the node to be hidden

Is there a workaround?

No response

Anything else?

No response

Wing Version

0.74.12

Node.js Version

No response

Platform(s)

No response

Community Notes

monadabot commented 3 months ago

Congrats! :rocket: This was released in Wing 0.74.38.