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
the TCGC result gives us a FooRequest as the model of body parameter. Since it is speading model Bar, could we get back the model Bar as the body parameter in this case?
This help us reduce the size of the generated assembly.
We agree that there are cases that returning the original model is not possible, such as an operation with spread of two different models, in those cases, we could still do the FooRequest as body because it is combining the two models.
But we would like to get the model back if the model is there.
The text was updated successfully, but these errors were encountered:
For this typespec:
the TCGC result gives us a
FooRequest
as the model of body parameter. Since it is speading modelBar
, could we get back the modelBar
as the body parameter in this case?This help us reduce the size of the generated assembly.
We agree that there are cases that returning the original model is not possible, such as an operation with spread of two different models, in those cases, we could still do the
FooRequest
as body because it is combining the two models.But we would like to get the model back if the model is there.
The text was updated successfully, but these errors were encountered: