-
Notifications
You must be signed in to change notification settings - Fork 336
Add methodParameterSegments to input parameter types for override decorator support #9537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JoshLove-msft
merged 26 commits into
main
from
copilot/add-support-for-override-decorator
Feb 5, 2026
+28,232
−21,329
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b86f3eb
Initial plan
Copilot 4865ac9
Add correspondingMethodParams to TypeScript input parameter types
Copilot 4873b4a
Add CorrespondingMethodParams property to C# input parameter types
Copilot 0c6ce45
Fix double semicolons in parameter converters
Copilot 3174687
Use methodParameterSegments instead of correspondingMethodParams
Copilot c6b2499
Implement CorrespondingMethodParams mapping for convenience to protoc…
Copilot 529f1ca
Store complete segment path in CorrespondingMethodParams for property…
Copilot 67bc763
Rename CorrespondingMethodParams to MethodParameterSegments to match …
Copilot 6380618
Use ModelProviderSnippets.GetPropertyExpression for property navigation
Copilot 0b641c4
Fixes
JoshLove-msft 4af3af7
Iterate through protocol parameters to maintain correct argument order
Copilot 9f05275
Fix body parameter conversion for override scenarios and add Update s…
Copilot 219d0d7
Fix body parameter wrapping for extracted property values in override…
Copilot cba20c5
Use implicit cast to RequestContent instead of explicit wrapping
Copilot bfcccb0
working
JoshLove-msft 3ca609e
delete
JoshLove-msft dc1e98c
Merge branch 'main' of https://github.com/microsoft/typespec into cop…
JoshLove-msft 8410c7a
regen
JoshLove-msft 7a8be94
regen
JoshLove-msft 757f95e
Add extensive unit tests for MethodParameterSegments functionality
Copilot bf421aa
Fix TypeScript test errors in method-parameter-segments.test.ts
Copilot b3c8065
fix tests
JoshLove-msft 75f9b36
format
JoshLove-msft a39750f
Merge branch 'main' of https://github.com/microsoft/typespec into cop…
JoshLove-msft 8c06911
regen
JoshLove-msft 1caf895
fix generate script
JoshLove-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.