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

Make property names safe in SDK generation #9034

Open
danielrbradley opened this issue Feb 23, 2022 · 0 comments
Open

Make property names safe in SDK generation #9034

danielrbradley opened this issue Feb 23, 2022 · 0 comments
Labels
area/codegen SDK-gen, program-gen, convert area/sdks Pulumi language SDKs kind/enhancement Improvements or new features

Comments

@danielrbradley
Copy link
Member

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

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 as sixQi.

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

  • codegen
@danielrbradley danielrbradley added area/sdks Pulumi language SDKs kind/enhancement Improvements or new features area/codegen SDK-gen, program-gen, convert labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen SDK-gen, program-gen, convert area/sdks Pulumi language SDKs kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant