-
Notifications
You must be signed in to change notification settings - Fork 226
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
[@typespec/http-specs] - Remove handler for majority of the Scenarios #4725
Conversation
No changes needing a change description found. |
You can try these changes here
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, what are the scenario left?
Scenarios such as format check in UUID, multipart and one scenario where number of query parameters is zero. (If I do not specify anything in the request, it is obviously zero. But, then previous handler is testing that condition only. So, I retained it) |
As a continuation of #4725, while working on removing the handler for the scenarios in the `typespec-azure` repository, I found some scenarios need added fix in the `spector` library. This PR consists of 2 changes: 1. The header keys must be changed to lowercase before reading and comparing. 2. If the headers and parameters are array values, then we need to handle them seperately. I have tested this change with all the scenarios in both the `typespec` and `typespec-azure` repositories. Once this change is merged, I can open the PR for the scenario changes in `typespec-azure` repository. Please review and approve this PR. Thanks
…Scenarios (#1691) This is the continuation of the PR microsoft/typespec#4725. This PR handles the removal of handler property in majority of the Scenarios (Except ones related to LRO and that checks the absence of a parameter). All Scenarios are validated and tested. Please review and approve the PR. Thanks
…microsoft#4725) This PR handles the removal of `handler` property in majority of the Scenarios. All Scenarios are validated and tested. Please review and approve the PR. Thanks
…ft#4751) As a continuation of microsoft#4725, while working on removing the handler for the scenarios in the `typespec-azure` repository, I found some scenarios need added fix in the `spector` library. This PR consists of 2 changes: 1. The header keys must be changed to lowercase before reading and comparing. 2. If the headers and parameters are array values, then we need to handle them seperately. I have tested this change with all the scenarios in both the `typespec` and `typespec-azure` repositories. Once this change is merged, I can open the PR for the scenario changes in `typespec-azure` repository. Please review and approve this PR. Thanks
…Scenarios (Azure#1691) This is the continuation of the PR microsoft/typespec#4725. This PR handles the removal of handler property in majority of the Scenarios (Except ones related to LRO and that checks the absence of a parameter). All Scenarios are validated and tested. Please review and approve the PR. Thanks
This PR handles the removal of
handler
property in majority of the Scenarios. All Scenarios are validated and tested. Please review and approve the PR. Thanks