Flagsmith / Flagsmith/flagsmith-nodejs-client
With offlineHandler and without offlineMode, the client always serves flags from the local json file even thought flagsmith server is available
- 主要言語
- TypeScript
- スター
- 30
- フォーク
- 26
- 平均マージ
- 11分
- マージ済み PR(30日)
- 5
説明
Hello,
We are using flagsmith inhouse in local evaluation mode.
We were trying to implement offline handler as described in the second point [here](https://docs.flagsmith.com/clients/server-side#using-an-offline-handler)
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!
コントリビューションガイド
調査の方向性
リンク先の offline-handler ドキュメントから始め、サーバーが利用可能な場合に offlineHandler と offlineMode がどのように解釈されるかを追跡してください。ローカルの JSON 環境ドキュメントと利用可能なサーバーを使って動作を再現し、その後、ドキュメントに記載された想定が正しいかを確認し、意図された動作をテストまたはドキュメントの更新に記録してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nodejs, typescript
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100