Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

tsp, fix wire name on header/query/path#2848

Merged
weidongxu-microsoft merged 7 commits into
Azure:mainfrom
weidongxu-microsoft:tsp_bug-fix_wire-name
Jul 3, 2024
Merged

tsp, fix wire name on header/query/path#2848
weidongxu-microsoft merged 7 commits into
Azure:mainfrom
weidongxu-microsoft:tsp_bug-fix_wire-name

Conversation

@weidongxu-microsoft

@weidongxu-microsoft weidongxu-microsoft commented Jul 2, 2024

Copy link
Copy Markdown
Member

emitter mainly uses "wire name" for mapping of ModelProperty (the only exception is the request "body").

Currently TCGC getWireName seems only work for JSON property.

Add branch for path/query/header parameter.

The bug likely won't affect existing lib, as it only happens in "alias/spread" + "non-body-property in that alias/spread".
But after "spread is spread", one test case is affected. Ref #2821

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review July 2, 2024 05:33
@weidongxu-microsoft weidongxu-microsoft merged commit 6342400 into Azure:main Jul 3, 2024
@weidongxu-microsoft weidongxu-microsoft deleted the tsp_bug-fix_wire-name branch July 3, 2024 03:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants