Repository navigation
feat: Support getExperimentFlag, trackEvent and trackExposure methods - #83
flagsmithsmith[bot] wants to merge 3 commits into
Conversation
Its entry in Flagsmith/sdk-spec's compatibility matrix at v0.7.1: `core or events or local-evaluation`.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Merging this PR will not alter performance
Comparing Footnotes
|
Implements the experimentation features the SDK spec's `events` scenarios require, run from SDK spec v0.7.1: - `enable_events` starts an event processor that buffers events and sends them to Flagsmith's events API in batches. - `get_experiment_flag` resolves a flag for an identity and records a `$flag_exposure` when the identity is enrolled in a running experiment. - `track_event` and `track_exposure_event` record events directly. - `Flag` exposes the `variant` and `experiment` served by remote identity evaluation. Re-applied from f28b98d on top of flag dependency evaluation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The SDK spec was failing because v0.7.1 runs this SDK's Changes
The re-application had two conflicts, in Checked locally: Review effort: 3/5 |
getExperimentFlag, trackEvent and trackExposure methods
Contributes to Flagsmith/sdk-spec#13