-
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
add @override
to override default method signature generation
#1148
Conversation
All changed packages have been documented.
Show changes
|
You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/1148/ Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/1148/ |
packages/typespec-client-generator-core/test/decorators.test.ts
Outdated
Show resolved
Hide resolved
another concern is what weidong mentioned in the issue: #1054 (comment) |
You can try these changes here
|
…verride_client_method
…verride_client_method
…verride_client_method
@overrideClientMethod
@methodSignature
to override default generation
There was a problem hiding this 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/libraries/typespec-client-generator-core/reference/decorators.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Srikanta <[email protected]>
@methodSignature
to override default generation@override
to override default method signature generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
fixes #1054