Flagsmith / Flagsmith/flagsmith-php-client

Support `$.flags` context values in segment conditions

Offen
#140 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
18
Forks
13
Ø Merge
28 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by locating getFlags and the engine-test-data dependency or test setup. Trace how segments reach the engine, then run the dependency cases and add coverage for no per-evaluation cost, evaluation scoping, and identity-less $.flags and $.environment resolution; done means all acceptance criteria pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
php
Bereich
api, backend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.