Make property names safe in SDK generation #9034
Labels
area/codegen
SDK-gen, program-gen, convert
area/sdks
Pulumi language SDKs
kind/enhancement
Improvements or new features
Hello!
Issue details
Properties starting with numbers are not valid in the go language and so we need to replace leading numbers with their word equivelent. E.g. a property called
6qi
should be created assixQi
.We should consider this on a per-language basis and refer to each languages's own criteria for properties and other names.
See pulumi/pulumi-azure-native#1528 for a concrete example of this issue.
Affected area/feature
The text was updated successfully, but these errors were encountered: