Replace HttpClientFactory as interface

オープン
#287 コメント 7 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Wolffy101 がすでに取り組んでいます。

2026年10月9日 から。

  • #574 @Wolffy101 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
api, backend

調査の方向性

まず、Firebase Admin .NET SDK 内で AppOptions.HttpClientFactory プロパティとその使用箇所を見つけます。リンクされている Google API の実装と統合テストを確認してインターフェースベースのアプローチを調べ、その後、プロパティが Google.Apis.Http.IHttpClientFactory を受け入れること、および影響を受けるビルドやテストが引き続き成功することを確認します。

索引モデルが issue の本文から書いたものです。

説明

needs-triage

Hello.

In the GoogleApi repository, an implementation of Google.Apis.Http.IHttpClientFactory using Microsoft.Extensions.Http.IHttpMessageHandlerFactory is presented.

https://github.com/googleapis/google-api-dotnet-client/issues/1756

https://github.com/googleapis/google-api-dotnet-client/blob/bfc9090dc2fae5b06a654328c4da7bc6b05b66f1/Src/Support/IntegrationTests/HttpClientFromMessageHandlerFactoryTests.cs#L38

To apply this method to Firebase as well, change the type of the AppOptions.HttpClientFactory property from Google.Apis.Http.HttpClientFactory to Google.Apis.Http.IHttpClientFactory?

主要言語
C#
スター
407
フォーク
147
平均マージ
2日 10時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-admin-dotnet のほかの issue

firebase/firebase-admin-dotnet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。