From 85d3ccbd793e4af735811c95981686fccb6c3abe Mon Sep 17 00:00:00 2001 From: Fredrik Strand Oseberg Date: Thu, 16 May 2024 10:41:50 +0200 Subject: [PATCH] chore: update documentation for feature toggle variants (#7064) Add documentation of feature flag variant types Closes #7056 --- website/docs/reference/feature-toggle-variants.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/reference/feature-toggle-variants.md b/website/docs/reference/feature-toggle-variants.md index fbdce80f1c..4abf8d45a3 100644 --- a/website/docs/reference/feature-toggle-variants.md +++ b/website/docs/reference/feature-toggle-variants.md @@ -87,6 +87,9 @@ Unleash currently supports these payload types: - JSON - CSV - String +- Number + +The variant payload type provides hints to your application about how to parse the payload. It does not enforce any specific format, so you can use any format you like. The payload is passed to the client as a string, so you will need to parse it on the client side according to the datatype expected. ### Variant stickiness