From 33d97319e58e9512e42ef067d703d45fa8c75ad2 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Wed, 6 Nov 2024 07:11:07 -0500 Subject: [PATCH] chore: add seperate variant attachment section with limit (#288) Signed-off-by: Mark Phelps <209477+markphelps@users.noreply.github.com> --- concepts.mdx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/concepts.mdx b/concepts.mdx index fbd9764..688747a 100644 --- a/concepts.mdx +++ b/concepts.mdx @@ -54,10 +54,18 @@ Variants are options for flags. For example, if you have a flag `colorscheme` that determines which main colors your users see when they login to your application, then possible variants could include `dark`, `light` or `auto`. - - Variants can also have JSON attachments. This allows you to store additional - data about a variant that can be used in your application at runtime. - +#### Variant Attachments + +Variants can also have JSON attachments. This allows you to store additional +data about a variant that can be used in your application at runtime. + + + +Variant attachments are not used for evaluation, they are only used for runtime configuration. + +The attachment size is limited to **1MB**. + + ![Variant Flags Example](/images/concepts/flags_variants.png)