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

gRPC + global ConfigureHttpClient error #2425

Open
JamesNK opened this issue Apr 30, 2024 · 0 comments
Open

gRPC + global ConfigureHttpClient error #2425

JamesNK opened this issue Apr 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JamesNK
Copy link
Member

JamesNK commented Apr 30, 2024

There is now a global ConfigureHttpClient option to configure all clients created by client factory. This feature conflicts with gRPC integration into the factory, which throws an error if the global ConfigureHttpClient is used. See dotnet/extensions#4924 (comment)

Options to improve:

  • Add a flag to suppress this error.
  • Detect when this configuration is global and automatically don't error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant