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

node: Respond with UNIMPLEMENTED status when RPC is not yet supported #2752

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

Previously, any time when protocol was extended, any NeoFS SDK upgrade
led to compilation error caused by unimplemented interface method(s)
added to the gRPC re-generated code.

Embed `UnimplementedXServer` structure provided by the gRPC generated
code into all implementation so missing methods would auto-respond with
`UNIMPLEMENTED` status. Interface extensions won't be longer break the
app compilation.

Signed-off-by: Leonard Lyubich <[email protected]>
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.87%. Comparing base (9756cc4) to head (094a599).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2752      +/-   ##
==========================================
- Coverage   28.88%   28.87%   -0.02%     
==========================================
  Files         415      415              
  Lines       32478    32478              
==========================================
- Hits         9382     9378       -4     
- Misses      22254    22257       +3     
- Partials      842      843       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov roman-khimov merged commit 0f81d20 into master Feb 26, 2024
13 of 16 checks passed
@roman-khimov roman-khimov deleted the upd/sdk branch February 26, 2024 11:11
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.

3 participants