Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Activator based on environment values? #87

Open
dsentker opened this issue Aug 10, 2021 · 1 comment
Open

Activator based on environment values? #87

dsentker opened this issue Aug 10, 2021 · 1 comment
Labels

Comments

@dsentker
Copy link

The Environment activator does a lookup if a specific environment variable exists. It would be useful to allow a comparison for this environment value.

Use case: I want to enable a feature in dev and preproduction, but not in prod environment.

Do i have to create a custom activator?

@migo315
Copy link
Contributor

migo315 commented Aug 11, 2021

This is exactly what the Environment Activator is for. You set the ENV variable to true on Dev and Stage / Preproduction and to false on Prod. Or am I just misunderstanding your request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants