-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
fix(microservices): support client cancel grpc request in unary stream #12026
fix(microservices): support client cancel grpc request in unary stream #12026
Conversation
Pull Request Test Coverage Report for Build 2e139aca-bd85-405b-b32b-ed5ca31697ba
💛 - Coveralls |
return; | ||
} | ||
} | ||
return observer.error(this.serializeError(error)); |
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.
nit: formatting is broken?
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.
Thank you. Just commit the fix.
afterEach(() => { | ||
// invoke client callback to allow resources to be cleaned up | ||
clientCallback(null, {}); | ||
}); |
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.
Why this hook was removed?
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.
Thank you. Just commit the fix.
…m - fix pull-request
@kamilmysliwiec please help check the fix |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Unsubscribe unary request with client upstream do nothing:
Issue Number: #12023
What is the new behavior?
When unsubscribe unary request with client upstream:
call.cancel()
to cancel request & release resourceDoes this PR introduce a breaking change?
Other information