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

Fix client version params #778

Merged
merged 7 commits into from
May 6, 2024
Merged

Fix client version params #778

merged 7 commits into from
May 6, 2024

Conversation

iscai-msft
Copy link
Contributor

Right now, we have all api version information tied to the sdkContext as a whole. As an example, this means that when we add a client in a later version, we're not able to have granular handling of api version for the second client.

In this PR, I've made all api version information a mapping from namespace to apiVersion information. I also added a test that reproduces one of the previous issues.

The PR diff is large bc I've had to add parameters everywhere so I'm still passing

@azure-sdk
Copy link
Collaborator

azure-sdk commented May 3, 2024

All changed packages have been documented.

  • @azure-tools/typespec-client-generator-core
Show changes

@azure-tools/typespec-client-generator-core - fix ✏️

tie api version information to clients so we can have diff api version information per client

@azure-sdk
Copy link
Collaborator

@iscai-msft iscai-msft enabled auto-merge May 6, 2024 16:23
@iscai-msft iscai-msft added this pull request to the merge queue May 6, 2024
Merged via the queue into main with commit 574936e May 6, 2024
21 checks passed
@iscai-msft iscai-msft deleted the fix_client_version_params branch May 6, 2024 16:49
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