Replies: 1 comment 3 replies
-
Hey, @markosca 😄 Thanks for the compliments and sorry for the slow response 🙇🏼 As for your question regarding configuring flag dependencies: we don't directly support using other flags as dependencies just yet, but we're working on it right now (tracked in this issue)! However, the first iteration will not support cross-project dependencies, so it doesn't actually address the issue you're describing here, but we'll take note of that as a feature request 📝 That said, there might be a workaround. You can't specify the dependency in the flag configuration directly, but you can do it in code. For instance, in JavaScript, it might look something like this: if (unleash.isEnabled('parent') && unleash.isEnabled('child') {
// do something
} Would that solve your issue for the time being? |
Beta Was this translation helpful? Give feedback.
-
Hello team,
firstly I'd to thank you for your work. I'm currently using Unleash and the new features you have implemented are really nice.
However, I work in a complex environment where some projects have cross-dependencies. Then, sometimes we cannot enable a feature toggle until another one has been properly activated.
Considering this "problem, " I have tried to configure a feature toggle setting other as a dependency but haven't been able... Is there any way to do it or should it be a new feature?
Thanks!
Marcos.
Beta Was this translation helpful? Give feedback.
All reactions