-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Rationale for this change See #45451. This adds out of the box compatibility with the [Grpc.Net.ClientFactory](https://learn.microsoft.com/en-us/aspnet/core/grpc/clientfactory?view=aspnetcore-9.0), library, which is fairly standardized for users making gRPC requests in .NET web applications. ### What changes are included in this PR? Added a new constructor to `FlightClient` that accepts a `CallInvoker` instance. `public FlightClient(CallInvoker callInvoker)` ### Are these changes tested? Yes, added a unit test to resolve an instance of the `FlightClient` using the `Grpc.Net.ClientFactory` integration and made a request with it. ### Are there any user-facing changes? Yes, a new overload constructor of `FlightClient` was added. * GitHub Issue: #45451 Authored-by: Robert Cao <robert.cao@relativity.com> Signed-off-by: Curt Hagenlocher <curt@hagenlocher.org>
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters