Dashed properties generate invalid Node & Dotnet SDKs #15874
Labels
area/codegen
SDK-gen, program-gen, convert
kind/bug
Some behavior is incorrect or out of spec
language/dotnet
language/javascript
What happened?
crd2pulumi often generates property names that include dashes, since these are valid in k8s. These aren't sanitized in generated SDKs for Node and Dotnet. (Possibly also Java, although gradle built successfully for me on the repro below.)
#11049 previously fixed this for Go and Python.
Example
Example schema:
Output of
pulumi about
Additional context
Refs pulumi/crd2pulumi#43
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: