[Bug]: Client Name Overrides are failing for model #750
Labels
bug
Something isn't working
lib:tcgc
Issues for @azure-tools/typespec-client-generator-core library
needs-area
Describe the bug
The
@clientname
decorator does not work on models.@xirzec @lmazuel @joheredi FYI....
Note: Originally, this issue was opened at microsoft/typespec#3247. Based on @timotheeguerin comments, Moving the issue to this repository.
Reproduction
The documentation of the
clientname
decorator says it can be applied to the model also. Refer here.But, when I apply the decorator to my javascript generator with the following code:
the name is not overridden. The generation does not fail. But, this name override does not work. (While other overrides in the same file works). I tried the CADL playground and there also I do not see the name change. Refer here
Checklist
The text was updated successfully, but these errors were encountered: