From e4009abd82d926250cc4188028c9a66e2ff6321e Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:20:19 -0500 Subject: [PATCH] chore: add seperate variant attachment section with limit 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)