wing
wing copied to clipboard
A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
### I tried this: Tried to get completion for a ,variable definition: ```ts bring cloud; let bucket = // ^ cursor here ``` ### This happened:  ### I expected...
### Feature Spec A preflight API for running inflight code that should run on all uncaught routes of a `cloud.Api`: ```js bring cloud; let api = new cloud.Api(); api.get("/users/*", inflight...
### I tried this: ```wing bring cloud; class Foo { pub b: cloud.Bucket; new() { this.b = new cloud.Bucket(); } inflight new() { this.b.put("hello.txt", "world"); } } let foo =...
### I tried this: ```wing bring cloud; bring util; bring "@cdktf/provider-aws" as tfaws; class Table { table: tfaws.dynamodbTable.DynamodbTable; new() { this.table = new tfaws.dynamodbTable.DynamodbTable({ name: this.node.addr, attribute: [ { name:...
### I tried this: ```js bring vite; new vite.Vite( root: "../frontend", publicEnv: { title: "Wing + Vite + React" } ); ``` Frontend: ```tsx {window.wing.env.title} ``` ### This happened: ```...
### Use Case You can now select the destination name and folder for any file that you upload using wing console ### Proposed Solution _No response_ ### Implementation Notes _No...
### Use Case We have an app with Python inflight code that we'd like to compile to cloudformation. We're using the Python library to run the python inflight. ### Proposed...
### Use Case Create a queue and give it a globally unique name. ### Proposed Solution ```wing new cloud.Queue(name: "a-globally-unique-name-or-it-will-fail-when-trying-to-deploy-on-aws") ; ``` ### Implementation Notes _No response_ ### Component SDK...
### Use Case Some languages, like Python https://docs.python.org/3/library/exceptions.html, provide extensive support for structured Exceptions. Wing probably does not need them all. Yet some set of standard exceptions would help. For...
### Use Case These are functions I found necessary in my practice: 1. s.isBlank() - to check whether a string is empty after trimming (easy to implement in Wing) 2....