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] Add a flag to indicate an SdkMethod is overloaded or not #1409

Closed
haolingdong-msft opened this issue Aug 22, 2024 · 1 comment
Closed
Assignees
Labels
lib:tcgc Issues for @azure-tools/typespec-client-generator-core library

Comments

@haolingdong-msft
Copy link
Member

haolingdong-msft commented Aug 22, 2024

I understad there are many things not decided about operation overload. So I would like to limit the scope of this issue to add flag (e.g. called isOverloadedOperation) to indicate if an SdkMethodh has @overloaded decorator.

Java emitter currently checks if the operation is overloaded or not by checking if the operation has @overload decorator, this will be used to generate protocol method only for overloaded operation. See code: https://github.com/Azure/autorest.java/blob/main/typespec-extension/src/code-model-builder.ts#L706-L714

@tadelesh
Copy link
Member

tadelesh commented Feb 6, 2025

close since we decide not to support @overload.

@tadelesh tadelesh closed this as completed Feb 6, 2025
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

No branches or pull requests

3 participants