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 wrong unexpected-pageable-operation-return-type because of nullable type #1935

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

tadelesh
Copy link
Member

when a method has several responses and only one of them has pageable body. tcgc's method return type will be a wrapped nullable type which real type is that response with body. so, when trying to find property, we need to peel off the wrapped nullable.

@azure-sdk
Copy link
Collaborator

All changed packages have been documented.

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

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

fix wrong unexpected-pageable-operation-return-type because of nullable type

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@tadelesh tadelesh merged commit 674dd54 into release/november-2024 Dec 2, 2024
22 checks passed
@tadelesh tadelesh deleted the fix_unbranded_page_issue branch December 2, 2024 02:36
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