Skip to content

Commit

Permalink
chore: add seperate variant attachment section with limit (#288)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps authored Nov 6, 2024
1 parent 96b0688 commit 33d9731
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<Tip>
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.
</Tip>
#### 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.

<Warning>

Variant attachments are not used for evaluation, they are only used for runtime configuration.

The attachment size is limited to **1MB**.

</Warning>

![Variant Flags Example](/images/concepts/flags_variants.png)

Expand Down

0 comments on commit 33d9731

Please sign in to comment.