Skip to content

feat: Support global variables/constants #7537

@Hansemeister

Description

@Hansemeister

Describe the feature request

I want Unleash to support string variables that can be defined one place, and referenced in multiple activation strategies / constraints / variants. In a string-replacement kind of way.

Background

Purpose is to avoid duplicating configuration, and to easily modify multiple resources safely with less chance of "missing a spot". This is especially useful with larger teams where you want the configurations to be consistent across Projects / strategies.

Solution suggestions

Backend - Variables can be persisted in postgres database.
Frontend - How it could look using $(VAR_NAME) syntax :

Variables page
image

Constraints page:
image

Variants page:
image

Metadata

Metadata

Type

No type

Projects

Status

For later

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions