Flagsmith / Flagsmith/flagsmith-ruby-client

Support `$.flags` context values in segment conditions

Aperta
#106 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
12
Fork
6
Merge medio
28m
PR unite (30g)
1

Descrizione

Support `$.flags..` conditions.

### Acceptance criteria

Engine:

- `engine-test-data` is bumped to the tag containing the flag dependency cases, and they pass.
- An environment with no `$.flags` conditions gains no per-evaluation cost.
- Resolved flags are scoped to a single evaluation, never shared between concurrent evaluations.

SDK:

- `getFlags` passes segments to the engine so identity-less evaluation resolves `$.flags` and `$.environment` conditions.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by tracing SDK getFlags into the engine and inspect how segments and per-evaluation context are passed. Use the engine-test-data tag containing the flag dependency cases as the first validation point; done means $.flags conditions work for identity-less evaluation, environments without them avoid added per-evaluation cost, and concurrent evaluations do not share resolved flags.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ruby
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.