proxy-client-react icon indicating copy to clipboard operation
proxy-client-react copied to clipboard

Making variant optional in bootstrapping

Open Tymek opened this issue 1 year ago • 0 comments

From community slack (https://unleash-community.slack.com/archives/C05R73SJDPU/p1695232309805539)

I am trying to bootstrap my client with some feature flags and noticed that a variant is a required property of IToggle . Why is that? If I don't want to have a variant would I basically have to add variant: { name: 'this is required', enabled: false} to every bootstrapped feature toggle?

Tymek avatar Sep 25 '23 08:09 Tymek