EvaluationContext: {
    targetingKey?: string;
} & Record<string, EvaluationContextValue>

A container for arbitrary contextual data that can be used as a basis for dynamic evaluation

Type declaration

  • Optional targetingKey?: string

    A string uniquely identifying the subject (end-user, or client service) of a flag evaluation. Providers may require this field for fractional flag evaluation, rules, or overrides targeting specific users. Such providers may behave unpredictably if a targeting key is not specified at flag resolution.

Generated using TypeDoc