Spread is spread (parameters) #1043
Labels
design:accepted
Proposal for design has been discussed and accepted.
epic
lib:tcgc
Issues for @azure-tools/typespec-client-generator-core library
Clear and concise description of the problem
We no longer want to recover a model from spread by default. The current behavior creates a complicated story for spreading, and leads to confusing emitter logic. The following needs to be done in this order
overrideClientMethod
decoratorBodyParameter
to coreThe final step is not required for the story to be complete, I'm only linking it in this issue as a reference.
Down the line, we also want to look into clearing up the logic in responses too. We will wait for a traits redesign first.
Checklist
The text was updated successfully, but these errors were encountered: