eladcon
eladcon
### I tried this: compile and deploy this (`tf-aws`) ```wing bring ex; bring cloud; let api = new cloud.Api() as "api1"; // let ap2 = new cloud.Api() as "api2"; new...
### I tried this: ```wing struct A { x: Array; } let a = A{x: {p:"4"}}; log(a.x[0]); ``` ### This happened: It doesn't throw a compilation error `Error: Index is...
### Use Case I want to access some information that is available on the context variable passed to the handler (E.g. access function name or request id in AWS) ###...
### I tried this Tried running a wing app that compiles wing code `wing test -t sim test.w` `test.w:` ``` bring cloud; resource Foo { init(){} extern "./external_js.js" static inflight...
### I tried this: ```wing let url = "http://example.com"; let x= Json{ "{url}": "valid" }; log("{Json.stringify(x)}"); ``` ### This happened: `{"{url}":"valid"}` the key isn't set correctly to the value of...
### I tried this: try `@winglibs/cognito` with yarn as the package manager ### This happened: ``` An error has occurred: Failed to compile. error: Unable to load "@cdktf/provider-aws": Module not...
Emits struct docs and struct's fields docs into the generated JSON schema. For example, this struct will emit the following schema: ```wing /// AA is a struct struct AA {...
### I tried this: Run this code. Notice the `Invoke` button on the `cloud.Function` is enabled while the app is still loading. ```wing bring cloud; bring util; let s =...
### I tried this: ```wing bring cloud; bring http; let api = new cloud.Api(); api.get("/", inflight (r) => { if let body = r.body { return { status: 500 };...