Skip to content
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/spector] - Modify checks for headers & parameters #4751

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

sarangan12
Copy link
Contributor

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

@azure-sdk
Copy link
Collaborator

No changes needing a change description found.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@sarangan12 sarangan12 added this pull request to the merge queue Oct 15, 2024
Merged via the queue into microsoft:main with commit e78f52e Oct 15, 2024
22 checks passed
@sarangan12 sarangan12 deleted the AppFixForParams branch October 15, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants