Skip to content

Making variant optional in bootstrapping #130

@Tymek

Description

@Tymek

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?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions