Include archived flags with stringVariation()

Aberta
#212 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
java
Domínio
api, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Java
Estrelas
6
Forks
22
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de harness/ff-java-server-sdk

Todas as issues de harness/ff-java-server-sdk

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.