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

add @override to override default method signature generation #1148

Merged
merged 29 commits into from
Aug 6, 2024

Conversation

iscai-msft
Copy link
Contributor

fixes #1054

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jul 11, 2024

All changed packages have been documented.

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

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

add @override decorator that allows authors to explicitly describe their desired client method

@azure-sdk
Copy link
Collaborator

@tadelesh
Copy link
Member

another concern is what weidong mentioned in the issue: #1054 (comment)

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@iscai-msft iscai-msft requested a review from tadelesh July 19, 2024 18:00
@iscai-msft iscai-msft changed the title add @overrideClientMethod add @methodSignature to override default generation Aug 2, 2024
Copy link
Member

@srnagar srnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the PR title as well to use the new decorator name.

docs/howtos/DataPlane Generation - DPG/08methodInputs.mdx Outdated Show resolved Hide resolved
packages/typespec-client-generator-core/README.md Outdated Show resolved Hide resolved
packages/typespec-client-generator-core/src/lib.ts Outdated Show resolved Hide resolved
@iscai-msft iscai-msft changed the title add @methodSignature to override default generation add @override to override default method signature generation Aug 5, 2024
@iscai-msft iscai-msft requested a review from srnagar August 5, 2024 21:52
Copy link
Member

@srnagar srnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@iscai-msft iscai-msft added this pull request to the merge queue Aug 5, 2024
Merged via the queue into main with commit 52cd813 Aug 6, 2024
22 checks passed
@iscai-msft iscai-msft deleted the override_client_method branch August 6, 2024 00:24
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.

[tcgc] add overrideClientMethod decorator
5 participants