Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

With offlineHandler and without offlineMode, the client always serves flags from the local json file even thought flagsmith server is available

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
nodejs, typescript
領域
backend

調査の方向性

リンク先の offline-handler ドキュメントから始め、サーバーが利用可能な場合に offlineHandler と offlineMode がどのように解釈されるかを追跡してください。ローカルの JSON 環境ドキュメントと利用可能なサーバーを使って動作を再現し、その後、ドキュメントに記載された想定が正しいかを確認し、意図された動作をテストまたはドキュメントの更新に記録してください。

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

説明

Hello,
We are using flagsmith inhouse in local evaluation mode.
We were trying to implement offline handler as described in the second point here

Our expectation is:-
If flagsmith server is available then use the environment document fetched from the server for the flag evaluation.
If flagsmith server is unavailable then use the environment document present in the .json file in the local.

Actual Behaviour:-
Even if flagsmith server is available, the flags are served from the .json file in the local

Note:-we only have offlineHandler set. The offlineMode is false

Can someone please clarify if our expectation is correct? If yes then why its not behaving this way?

Thanks!

主要言語
TypeScript
スター
30
フォーク
27
平均マージ
20時間 52分
マージ済み PR(30日)
6

環境構築

はじめの一歩

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

Flagsmith/flagsmith-nodejs-client のほかの issue

Flagsmith/flagsmith-nodejs-client の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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