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'm generating Go code with typespec and running into an issue where path parameters are not generating at all. This is happening in the multiple Key Vault packages I'm trying to create. (Link to typspec project)
This issue happens with the Go emitter @azure-tools/typespec-go v0.3.2 and later, the previous version (v0.3.1) works.
I've I noticed when the go emitter calls tcgc.createSdkContext the returned sdkContext.sdkPackage.clients[0].methods[0].parameters do not contain any path parameters. Because that array is missing the path parameters, the go emitter is not generating the methods with the path parameters.
Describe the bug
Hi @tadelesh!
I'm generating Go code with typespec and running into an issue where path parameters are not generating at all. This is happening in the multiple Key Vault packages I'm trying to create. (Link to typspec project)
This issue happens with the Go emitter @azure-tools/typespec-go v0.3.2 and later, the previous version (v0.3.1) works.
I've I noticed when the go emitter calls
tcgc.createSdkContext
the returnedsdkContext.sdkPackage.clients[0].methods[0].parameters
do not contain any path parameters. Because that array is missing the path parameters, the go emitter is not generating the methods with the path parameters.Reproduction
in bug description
Checklist
The text was updated successfully, but these errors were encountered: