From 83479a1857b257065d350e64d05cf23902e2f09f Mon Sep 17 00:00:00 2001 From: Kyriakos Georgiou Date: Sat, 27 Jul 2019 15:34:49 -0400 Subject: [PATCH] docs: update Dynamic Configuration section Update Dynamic Configuration section to match the variant attachment format updates introduced in #259. --- docs/flagr_use_cases.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/flagr_use_cases.md b/docs/flagr_use_cases.md index 6854e27f..11acbabc 100644 --- a/docs/flagr_use_cases.md +++ b/docs/flagr_use_cases.md @@ -94,12 +94,11 @@ UI setting example (frontend looks may iterate quickly): ## Dynamic Configuration -One can also leverage the **Variant Attachment** to run dynamic configuration. -For example, the color_hex of green variant can be dynamically configured. +One can also leverage the **Variant Attachment** to run dynamic configuration, by supplying a valid JSON object attachment. + +!> Before [v1.1.3](https://github.com/checkr/flagr/releases/tag/1.1.3), only **string:string** key:value pairs were supported inside the JSON object attachment. -!> We note that for simplicity, Flagr only supports **string/string** key/value pairs -as the attachment format now, and it's up to the application to determine how to -interpret. +For example, the color_hex of green variant can be dynamically configured. ``` evaluation_result = flagr.post_evaluation( entity )