Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
8 stars 28 forks source link

Clean up spread logic for responses #1044

Open iscai-msft opened 2 weeks ago

iscai-msft commented 2 weeks ago

Clear and concise description of the problem

We have made the decision to clean up the spread logic for parameter inputs. However, the response logic is still messy. We're putting response on the backburner because there is no active confusion among spec authors, it is just leading to more convoluted-than-necessary emitter logic. We will wait until traits is redesigned.

The current thinking is modifying templates to add @bodyRoot (code here).

Checklist