-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure operations validate versioning of their parameters (#2662)
Fixes https://github.com/Azure/typespec-azure/issues/3732 by ensuring that parameters in operation signatures are evaluated for version compatibility. Also updates versioning error message slightly.
- Loading branch information
1 parent
bc62493
commit b6fb119
Showing
4 changed files
with
94 additions
and
19 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@typespec/versioning/versioning-OpParams_2023-11-10-16-19.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@typespec/versioning", | ||
"comment": "Fix issue where the version compatability of parameters in operation signatures was not checked.", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@typespec/versioning" | ||
} |
This file contains 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 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 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