Azure / autorest.csharp

Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code
MIT License
141 stars 166 forks source link

Renames of extensible enums don't work #4915

Open JoshLove-msft opened 2 months ago

JoshLove-msft commented 2 months ago

Trying to rename https://github.com/Azure/azure-rest-api-specs/blob/abd5157cf12219dcd693b6d8edd5334281110af5/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp#L769, with the following property override:

@@clientName(recordingContentType, "AcsRecordingContentType", "csharp" );

But it doesn't work. This is specific to csharp - it works for other languages.

chunyu3 commented 1 month ago

Need to investigate TCGC library why @clientName does not work.

chunyu3 commented 1 week ago

Hello @JoshLove-msft I tried locally to rename a extensible enum via @clientName, and it works, The issue should be resolved. Would you please help to check? thanks.

microsoft-github-policy-service[bot] commented 5 days ago

Hi, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!