-
Notifications
You must be signed in to change notification settings - Fork 37
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
[Bug]: TCGC reports wrong diagnostics "conflicting-multipart-model-usage" for valid multipart cases #1510
Comments
The root cause is that TCGC always set a model with
typespec-azure/packages/typespec-client-generator-core/src/types.ts Lines 1633 to 1642 in a6365a1
There are 2 solutions:
|
Personal opinion: |
After discussion, we pretend to use this solution instead of adding new usage kind. Let me make a PR to fix it later. |
…ommon content-type and multipart content-type (#1511) fix #1510 --------- Co-authored-by: tadelesh <[email protected]>
Describe the bug
For the valid cases, TCGC reports wrong diagnostics "conflicting-multipart-model-usage"
Reproduction
Checklist
The text was updated successfully, but these errors were encountered: