Skip to content

Snake case naming optimization (with vendor code from @azure-tools/codegen)#2810

Merged
msyyc merged 9 commits intomainfrom
snake-case-naming-optimization-inline
Sep 5, 2024
Merged

Snake case naming optimization (with vendor code from @azure-tools/codegen)#2810
msyyc merged 9 commits intomainfrom
snake-case-naming-optimization-inline

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented Sep 3, 2024

fix #2636
#2637 adopts @azure-tools/codegen which is also adopted by m4 however the package is not maintained. After discussion, we don't plan to use it anymore. So this PR extract the core logic as vendor code for snake case naming.

Here is the influence for existing packages Azure/azure-sdk-for-python@941ada1 and we can see most of changes are more visible in view of naming. And we can use @clientName to avoid breakings if needed.

@msyyc msyyc changed the title Snake case naming optimization (new) Snake case naming optimization (with vendor code from @azure-tools/codegen) Sep 3, 2024
Copy link
Copy Markdown
Contributor

@iscai-msft iscai-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for vendoring!

@msyyc msyyc marked this pull request as ready for review September 4, 2024 01:56
@msyyc msyyc requested a review from tadelesh as a code owner September 4, 2024 01:56
@msyyc msyyc requested a review from iscai-msft September 5, 2024 03:03
@msyyc msyyc merged commit 43e3a4c into main Sep 5, 2024
@msyyc msyyc deleted the snake-case-naming-optimization-inline branch September 5, 2024 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support naming optimization for snake case

3 participants