Include archived flags with stringVariation()

Abierto
#212 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java
Área
api, backend

Línea de trabajo

The issue concerns stringVariation() returning the default value for archived flags in this Java server SDK. The payload names no files or tests, so start by finding where the SDK's string evaluation path handles flags and whether archived flags are excluded there. Done means either an opt-in option for archived flags with a test, or a documented workaround. The issue has no replies after about a year, so confirm with maintainers before writing code.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

We have a process where feature flags are updated prior to code that uses them being deployed.

We were hoping that we could archive flags that aren't being used anymore but, that those flags would still evaluate under "stringVariation" while the new code doesn't use those flags is being deployed.

However, when we attempt to check the value of an archived flag with "stringVariation" we get back the default value instead of the archived value.

Is it possible to add an option to include archived flags when checking stringVariation? Or do you have any ideas of a workaround?

Lenguaje dominante
Java
Estrellas
6
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de harness/ff-java-server-sdk

Todos los issues de harness/ff-java-server-sdk

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.