Skip to content

Commit

Permalink
Merge pull request #280 from kgeorgiou/docs/update-dynamic-configuration
Browse files Browse the repository at this point in the history
docs: update Dynamic Configuration section
  • Loading branch information
zhouzhuojie authored Aug 8, 2019
2 parents 9a82375 + 83479a1 commit 0d7481b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/flagr_use_cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0d7481b

Please sign in to comment.