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

Abierto
#195 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
30
Forks
26
Merge medio
11 min
PR fusionados (30 d)
5

Descripción

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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.