The Statsig provider convertsevaluation context to a Statsig user. However, it only supports directly mapping properties to what has been defined by a Statsig user. This makes interoperability impossible for providers that require a targetKey.
Proposal
### Tasks
- [ ] Map `targetingKey` to `UserID` if `UserID` is not set on the evaluation context
- [ ] Return a `NewTargetingKeyMissingResolutionError` if `UserID` is not defined on the Statsig user after the conversion.
- [ ] Map non-matching evaluation context properties under `Custom`
Overview
The Statsig provider converts evaluation context to a Statsig user. However, it only supports directly mapping properties to what has been defined by a Statsig user. This makes interoperability impossible for providers that require a
targetKey
.Proposal
Resources