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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] naming breaking when migrate swagger to typespec #2979

Open
msyyc opened this issue Dec 23, 2024 · 3 comments
Open

[bug] naming breaking when migrate swagger to typespec #2979

msyyc opened this issue Dec 23, 2024 · 3 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. p0

Comments

@msyyc
Copy link
Member

msyyc commented Dec 23, 2024

When signature name begins with $ like https://github.com/Azure/azure-rest-api-specs/blob/d1d028736d79183a6a420e29145887fb02d1b1a9/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineExtensionImage.json#L120-L124
Image
Then the generated signature name in SDK is:
Image

However, when migrate it to typespec
Image
https://github.com/Azure/azure-rest-api-specs/blob/d1d028736d79183a6a420e29145887fb02d1b1a9/specification/compute/Compute.Management/VirtualMachineExtensionImage.tsp#L79-L80

the signature name is changed to _filter which has breakings compared with before:
Image

@msyyc msyyc added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 23, 2024
@msyyc msyyc self-assigned this Dec 23, 2024
@msyyc
Copy link
Member Author

msyyc commented Dec 23, 2024

@iscai-msft
Copy link
Contributor

Thanks @msyyc, can you bump this in priority? Thanks!

@msyyc msyyc added the p0 label Jan 7, 2025
@msyyc
Copy link
Member Author

msyyc commented Jan 7, 2025

Sure, I will try it fix it asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. p0
Projects
None yet
Development

No branches or pull requests

2 participants