[TCGC][Bug] TCGC SdkModelType.usage does not consider readonly case #916
Closed
Labels
lib:tcgc
Issues for @azure-tools/typespec-client-generator-core library
TSP:
detailed case can be found in this pr: Azure/cadl-ranch#587
In this case, TCGC returns
UsageFlags
forResultModel
is6
(UsageFlags.Input | UsageFlags.Output
). But this is a readonly model, which should be output only, and usage should be4
(UsageFlags.Output).The text was updated successfully, but these errors were encountered: