winglang / wing

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

Import individual namespaces and types from jsii libraries #1516

Closed Chriscbr closed 1 year ago

Chriscbr commented 1 year ago

Community Note

Please vote by adding a 👍 reaction to the issue to help us prioritize. If you are interested to work on this issue, please leave a comment.

Feature Spec

Examples syntaxes (made up):

bring "@cdktf/provider-aws".s3Bucket as s3Bucket;
// new s3bucket.S3Bucket();

bring "@cdktf/provider-aws/lib/s3-bucket" as s3Bucket;
// new s3Bucket.S3Bucket();

bring "@cdktf/provider-aws/lib/s3-bucket".S3Bucket as S3Bucket;
// new S3Bucket();

bring "@cdktf/provider-aws":[s3Bucket.S3Bucket as Bucket];
// new Bucket();

...

Use Cases

Implementation Notes

First we will need an amendment to the Wing Language Spec with the proposed syntax(es)

Component

Compiler

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

staycoolcall911 commented 1 year ago

Duplicates #3352