-
Notifications
You must be signed in to change notification settings - Fork 58
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
Snake case naming optimization #2637
Conversation
@@ -21,6 +22,9 @@ export function camelToSnakeCase(name: string): string { | |||
.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`) | |||
.replace(/_+/g, "_"); | |||
|
|||
if (!name.toLocaleLowerCase().includes("constructor")) { | |||
return Style.snake(name, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...espec-python/test/azure/generated/azure-mgmt-spheredpg/azure/mgmt/spheredpg/models/_enums.py
Show resolved
Hide resolved
@msyyc I think this PR is ready to go, I'd wait until you finish the regenerate existing packages pipeline, so we can see everything that changes |
…snake-case-naming-optimization
Here is the diff caused by this PR: Azure/azure-sdk-for-python@378a646 |
fixes #2636
move to #2810