microsoft / microsoft/typespec

[java] prototype, allow `@override` decorator apply to protocol method

Open
#11,757 2 comments 1 reaction 1 assignee Claimed by @weidongxu-microsoft View on GitHub
emitter:client:java feature
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Currently, only convenient method is affected by the `@override` decorator. Protocol method follows the REST API and is not affected.

We may see if we apply the decorator to protocol method as well, particularly the "grouping of parameters" (query and header).

One problem is that the parameters to protocol method only contains "required" parameters, while the parameters to convenient contains all. Also, protocol method "erases" the Enum and only retain String.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.