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

[TCGC] Fix judge logic how to distinguish model is referred both in common content-type and multipart content-type #1511

Merged
merged 13 commits into from
Sep 20, 2024

Conversation

msyyc
Copy link
Member

@msyyc msyyc commented Sep 11, 2024

fix #1510

@microsoft-github-policy-service microsoft-github-policy-service bot added the lib:tcgc Issues for @azure-tools/typespec-client-generator-core library label Sep 11, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 11, 2024

All changed packages have been documented.

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

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

Fix logic to check conflicting usage for model of multipart body and regular body

@msyyc msyyc changed the title Fix judge logic how to distinguish model is referred both in common content-type and multipart content-type [TCGC] Fix judge logic how to distinguish model is referred both in common content-type and multipart content-type Sep 11, 2024
@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@tadelesh tadelesh added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit 3becc74 Sep 20, 2024
22 checks passed
@tadelesh tadelesh deleted the fix-multipart-diagnostics branch September 20, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: TCGC reports wrong diagnostics "conflicting-multipart-model-usage" for valid multipart cases
5 participants