You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the only way we could deal it gracefully is to make an array of SdkModelProperty.
Making everything to be strings and put "what this string means" in document for people to read is not quite a good design.
I think the only way we could deal it gracefully is to make an array of SdkModelProperty. Making everything to be strings and put "what this string means" in document for people to read is not quite a good design.
Yeah, I'd agree to this.
Though there could be some design issues, e.g. maybe due to looped reference (though not likely in LRO method).
Also, "paging" method have similar "string" design, of sdkMethod.response.resultPath and sdkMethod.nextLinkPath.
We may design them together (as for "paging", there is known case of nested properties, e.g. links -> nextLink -- and we really don't wish the nextLinkPath be links.nextLink).
Describe the bug
TCGC 0.49.1
lroMetadata.finalResponse.resultPath
is neither clientName nor serializedNameReproduction
https://cadlplayground.z22.web.core.windows.net/cadl-azure/?c=aW1wb3J0ICJAdHlwZXNwZWMvcmVzdCI7CskZYXp1cmUtdG9vbHMvyCUtxhVjb3Jl3ytjLWNsaWVudC1nZW5lcmF0b3LINgp1c2luZyBUeXBlU3BlYy5IdHRwO9AVUmVzdNEVVmVyc2lvbmluZ8gbQcR5LkNvcmXSEi5UcmFpdHPPGeUAlUfoAJTHOwpAc2VydmljZSh7CiAgdGl0bGU6ICJSZXNwb25zZSIsCn0pCkB2xn5lZChBcGnnAItzKQpuYW1lc3BhY2UgVHNwVGVzdOQAvMU4OwoKZW51bSDLLyDEYEB1c2VEZXBlbmRlbmN5KGdsb2JhbC7rALnILi52MV8wX1ByZXZpZXdfMikKICB2MjAyMl8wNl8wMV9wxhk6ICLEFS0wNi0wMS3HFeQAtAoKb3AgQ3VzdG9tTG9uZ1J1buQBO09w5AD7aW9uPAogIFRQYXJhbXMgZXh0ZW5kc%2BwBgGZsZWPEJy5Nb2RlbCzELegA2d8vZGVsCj4gaXMgRm91bmTFbHMu1HfEVUFjY2VwdGVkyVwm5QEkICBAcG9sbGluZ0xvY8U4xhVoZWFkZXIoIslPLcggIuQBHyAgb8gZyBg6IFJlc291cmNlyBI86QDJPjsKICB9Cj7kAgJyxyYoIsgKcyIpCm3kAM7JQuYBv3Zpc2liaWxpdHnELGFkxXppZDogc3Ry5QKcxCVrZXnZLOQCM80uZGVzY3JpcOQAnT%2FKGSAg5ANMyhB9CgovLyBubyDkAKJ1bHQiIHBy5ADvdHnnAKfpARVEZXRhaWznAm5kb2PrATAgSUTlAIT5AKEsICJjcmVhdGXpANd1dWlk5QCnc3RhdHVzOuwDZPUB41N0YXRl5ADAZXJyb3I%2F2TFFxB%2FFWkBscm9S5QDVxA3mBDpOYW1lKCJs6gK6xiHmAL5lbmNvZGVkxiRhcHBsaeYB3C9qc29u5ADEbHJvX%2BcBJ8Qxxgs%2F6gIN5QFPQPoEFS7mAIXlBBHmAbDpBBDGLyLkAr7nBDc68QP85gQz5QF7yBMiKQpAcm91dGUoIuQFbMgUaW50ZXJm5ARAyClPcCB75QEVyC5scm8t6wDMbHJvSW52YWxp5AM1dWx05ANr%2FgPnIOcDVCAgQGJvZHkgcmVxdWVzdOwBDsQdfeQA0yDxAkcKICA%2B5AEv&e=%40azure-tools%2Ftypespec-client-generator-core&options=%7B%7D
input
output
The
resultPath
should be the client name of the propertylongRunningResult
.Checklist
The text was updated successfully, but these errors were encountered: