typespec icon indicating copy to clipboard operation
typespec copied to clipboard

refactor(http-client-csharp): do not expand client parameters into each operation

Open archerzz opened this issue 1 year ago • 0 comments

Description

Previously when adopting TCGC getAllOperations, we expand client parameters into each operation to keep the existing input model structure: https://github.com/microsoft/typespec/blob/81f897739eed8b481d2e07de8fe9770ba9f44994/packages/http-client-csharp/emitter/src/lib/operation-converter.ts#L152

We could remove this expansion, change the input model, and do the expansion in mgc/autorest.csharp if necessary.

archerzz avatar Aug 13 '24 03:08 archerzz