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

*: provide default service implementations #521

Merged
merged 6 commits into from
Apr 13, 2021

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Mar 31, 2021

According to grpc interop test descriptions, calling unimplemented method should return
UNIMPLEMENTED status code. Before this PR, user is required to implement all methods
and return UNIMPLEMENTED explicitly if desired. This PR changes the behavior by providing
a default implementation, so that it can truely meet the description.

Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
@BusyJay BusyJay requested review from hicqu and hunterlxt March 31, 2021 07:05
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
@hunterlxt
Copy link
Member

LGTM but little suggestion, provide simple comment to describe when to use unimplemented_call!

hunterlxt
hunterlxt previously approved these changes Apr 9, 2021
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
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.

None yet

3 participants