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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix generated package and class names for versioned APIs #381
Fix generated package and class names for versioned APIs #381
Comments
I was thinking about adding a section to
To give ability of augmenting the schema with additional information instead of forcing language specific changes into the schema. @t0yv0 WDYT? |
What does the C# projection do and how does it do it? Found this: VS this: C# has this language-specific config:
|
This sounds like a good idea to me based on the above evidence, but I'd welcome input from providers team also perhaps @jkodroff how important this is especially prioritizing against our other gaps. |
pulumi-java-gen.yaml will be going away, but we do have the |
Hmm, interesting, I thought it was a very good direction to decouple the lang specific parts from lang-agnostic parts. With that in mind I always viewed the Java's project setup and all of the various build mechanisms to be an effort in that direction. IMHO, having language specific information mixed with language agnostic information is not clean design. |
I think we need to tackle this.
|
@pawelprazak if you have WIP here that implements this could you link it here? |
Not a WIP but a patch I've used during PoC. Might be helpful. |
- temporary patch for schema until upstream PR is merged Fixes #381
To completely address this issue, there will be several steps required:
|
- temporary patch for schema until upstream PR is merged Fixes #381
- temporary patch for schema until upstream PR is merged Fixes #381
- temporary patch for schema until upstream PR is merged Part of #381
- temporary patch for schema until upstream PR is released Part of #381
- temporary patch for schema until upstream PR is merged Part of #381
- temporary patch for schema until upstream PR is merged Part of #381
I've taken follow up items into #732 so we can close this as done. |
Hello!
Issue details
Currently when generating providers we don't handle versioned APIs very well (kubernetes, google-native, others?).
Expectations:
io.pulumi.googlenative.accesscontextmanager_v1
->io.pulumi.googlenative.accesscontextmanager.v1
Accesscontextmanager_v1Functions
->AccesscontextmanagerFunctions
I've seen this mechanism used to correct this type of provider specific problems:
VirtusLab/pulumi-kubernetes@2e08c5e#diff-8dfd74ae4dfdfd04f5c226c8e65a2d3060d6761b45252ba7a757c22492d99311R42460
Underscores in packages should only be used to escape reserved keywords and when the name starts with a number, e.g.:
org.example.foo.class_.for_.void_
org/example.bar._23games
Affected area/feature
The text was updated successfully, but these errors were encountered: