Chris Rybicki
Chris Rybicki
Instead, we could add an optional `level` field to the global log function: ```js log("Hello", level: std.LogLevel.VERBOSE) ```
Replace all usages of sim.State and cloud.Service with sim.Resource.
- [ ] [Api](https://www.winglang.io/docs/standard-library/cloud/api) - [ ] [Bucket](https://www.winglang.io/docs/standard-library/cloud/bucket) - [x] [Counter](https://www.winglang.io/docs/standard-library/cloud/counter) - [ ] [Domain](https://www.winglang.io/docs/standard-library/cloud/domain) - [ ] [Endpoint](https://www.winglang.io/docs/standard-library/cloud/endpoint) - [ ] [Function](https://www.winglang.io/docs/standard-library/cloud/function) - [ ] [OnDeploy](https://www.winglang.io/docs/standard-library/cloud/on-deploy) - [ ]...
### Feature Spec In Wing 0.x, the `unsafeCast` builtin function has been replaced with a dedicated syntax. ### Use Cases Today `unsafeCast` doesn't let you specify the type you are...
### Use Case As a user, I would like a way to create strings that allow me to type special characters like backslashes without having them treated as escape sequences....
can we move to a helper and not emit all this code? _Originally posted by @eladb in https://github.com/winglang/wing/pull/6389#discussion_r1590654283_
### I tried this: I ran `wing test main.w` with this code: ```js bring cloud; let b = new cloud.Bucket(); test "call extern code" { b.get("invalid-key"); } ``` ### This...
### Feature Spec Starting in Wing 0.x, class initializers are now private by default, unless specified public using the `pub` keyword. Previous to this change, it was not possible to...
### I tried this: Throwing an error in my setConsumer handler: ```js bring cloud; let queue = new cloud.Queue(); queue.setConsumer(inflight () => { log("hey"); throw "ah!"; }); ``` ### This...
## :bug: Bug Report ### Affected Languages - [ ] `TypeScript` or `Javascript` - [x] `Python` - [x] `Java` - [x] .NET (`C#`, `F#`, ...) - [x] `Go` ### General...