From bddf7ef4ab047d4f42b447aa68f0e900eca8b570 Mon Sep 17 00:00:00 2001 From: Fabrizio Demaria Date: Mon, 11 Nov 2024 16:00:37 +0100 Subject: [PATCH] docs: Spec the behaviour of putContext --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc2a58b2..3ebaf90f 100644 --- a/README.md +++ b/README.md @@ -78,8 +78,8 @@ It is also appended to the tracked events, making it a great way to create dimen confidence.putContext(context: ["key": ConfidenceValue(string: "value")]) ``` -Note that a `ConfidenceValue` is accepted a map values, which has a constructor for all the value types -supported by Confidence. +Upon the returning of this function call, the updated context is appended to tracking events. +However, to relfect the new context in flags resolves, a new call to `fetchAndActivate()` is required. ### Resolving feature flags Once the Confidence instance is **activated**, you can access the flag values using the