Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[programgen] generate fully qualified imports from PCL programs #547

Closed
Tracked by #598
Zaid-Ajaj opened this issue May 4, 2022 · 0 comments 路 Fixed by #596
Closed
Tracked by #598

[programgen] generate fully qualified imports from PCL programs #547

Zaid-Ajaj opened this issue May 4, 2022 · 0 comments 路 Fixed by #596
Assignees
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Milestone

Comments

@Zaid-Ajaj
Copy link
Contributor

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Right now, programgen writes these imports:

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

It would great if it generated the fully qualified names of the resources that it is using. i.e.

import java.util.List;
import java.util.Map;
import java.nio.Paths;
import com.pulumi.aws.s3.Bucket;
import com.pulumi.aws.s3.BucketArgs;
// etc.

Affected area/feature

programgen

@Zaid-Ajaj Zaid-Ajaj added the kind/enhancement Improvements or new features label May 4, 2022
@Zaid-Ajaj Zaid-Ajaj self-assigned this May 6, 2022
@mikhailshilkov mikhailshilkov added this to the 0.73 milestone May 16, 2022
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants